diff --git a/.github/release-trigger.yml b/.github/release-trigger.yml index d4ca94189e..7efb85fb22 100644 --- a/.github/release-trigger.yml +++ b/.github/release-trigger.yml @@ -1 +1,2 @@ enabled: true +multiScmName: sdk-platform-java diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index 06643fd5a9..b6e5433d7f 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -99,30 +99,26 @@ colorlog==6.7.0 \ --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 # via gcp-docuploader -cryptography==39.0.2 \ - --hash=sha256:103e8f7155f3ce2ffa0049fe60169878d47a4364b277906386f8de21c9234aa1 \ - --hash=sha256:23df8ca3f24699167daf3e23e51f7ba7334d504af63a94af468f468b975b7dd7 \ - --hash=sha256:2725672bb53bb92dc7b4150d233cd4b8c59615cd8288d495eaa86db00d4e5c06 \ - --hash=sha256:30b1d1bfd00f6fc80d11300a29f1d8ab2b8d9febb6ed4a38a76880ec564fae84 \ - --hash=sha256:35d658536b0a4117c885728d1a7032bdc9a5974722ae298d6c533755a6ee3915 \ - --hash=sha256:50cadb9b2f961757e712a9737ef33d89b8190c3ea34d0fb6675e00edbe35d074 \ - --hash=sha256:5f8c682e736513db7d04349b4f6693690170f95aac449c56f97415c6980edef5 \ - --hash=sha256:6236a9610c912b129610eb1a274bdc1350b5df834d124fa84729ebeaf7da42c3 \ - --hash=sha256:788b3921d763ee35dfdb04248d0e3de11e3ca8eb22e2e48fef880c42e1f3c8f9 \ - --hash=sha256:8bc0008ef798231fac03fe7d26e82d601d15bd16f3afaad1c6113771566570f3 \ - --hash=sha256:8f35c17bd4faed2bc7797d2a66cbb4f986242ce2e30340ab832e5d99ae60e011 \ - --hash=sha256:b49a88ff802e1993b7f749b1eeb31134f03c8d5c956e3c125c75558955cda536 \ - --hash=sha256:bc0521cce2c1d541634b19f3ac661d7a64f9555135e9d8af3980965be717fd4a \ - --hash=sha256:bc5b871e977c8ee5a1bbc42fa8d19bcc08baf0c51cbf1586b0e87a2694dde42f \ - --hash=sha256:c43ac224aabcbf83a947eeb8b17eaf1547bce3767ee2d70093b461f31729a480 \ - --hash=sha256:d15809e0dbdad486f4ad0979753518f47980020b7a34e9fc56e8be4f60702fac \ - --hash=sha256:d7d84a512a59f4412ca8549b01f94be4161c94efc598bf09d027d67826beddc0 \ - --hash=sha256:e029b844c21116564b8b61216befabca4b500e6816fa9f0ba49527653cae2108 \ - --hash=sha256:e8a0772016feeb106efd28d4a328e77dc2edae84dfbac06061319fdb669ff828 \ - --hash=sha256:e944fe07b6f229f4c1a06a7ef906a19652bdd9fd54c761b0ff87e83ae7a30354 \ - --hash=sha256:eb40fe69cfc6f5cdab9a5ebd022131ba21453cf7b8a7fd3631f45bbf52bed612 \ - --hash=sha256:fa507318e427169ade4e9eccef39e9011cdc19534f55ca2f36ec3f388c1f70f3 \ - --hash=sha256:ffd394c7896ed7821a6d13b24657c6a34b6e2650bd84ae063cf11ccffa4f1a97 +cryptography==41.0.0 \ + --hash=sha256:0ddaee209d1cf1f180f1efa338a68c4621154de0afaef92b89486f5f96047c55 \ + --hash=sha256:14754bcdae909d66ff24b7b5f166d69340ccc6cb15731670435efd5719294895 \ + --hash=sha256:344c6de9f8bda3c425b3a41b319522ba3208551b70c2ae00099c205f0d9fd3be \ + --hash=sha256:34d405ea69a8b34566ba3dfb0521379b210ea5d560fafedf9f800a9a94a41928 \ + --hash=sha256:3680248309d340fda9611498a5319b0193a8dbdb73586a1acf8109d06f25b92d \ + --hash=sha256:3c5ef25d060c80d6d9f7f9892e1d41bb1c79b78ce74805b8cb4aa373cb7d5ec8 \ + --hash=sha256:4ab14d567f7bbe7f1cdff1c53d5324ed4d3fc8bd17c481b395db224fb405c237 \ + --hash=sha256:5c1f7293c31ebc72163a9a0df246f890d65f66b4a40d9ec80081969ba8c78cc9 \ + --hash=sha256:6b71f64beeea341c9b4f963b48ee3b62d62d57ba93eb120e1196b31dc1025e78 \ + --hash=sha256:7d92f0248d38faa411d17f4107fc0bce0c42cae0b0ba5415505df72d751bf62d \ + --hash=sha256:8362565b3835ceacf4dc8f3b56471a2289cf51ac80946f9087e66dc283a810e0 \ + --hash=sha256:84a165379cb9d411d58ed739e4af3396e544eac190805a54ba2e0322feb55c46 \ + --hash=sha256:88ff107f211ea696455ea8d911389f6d2b276aabf3231bf72c8853d22db755c5 \ + --hash=sha256:9f65e842cb02550fac96536edb1d17f24c0a338fd84eaf582be25926e993dde4 \ + --hash=sha256:a4fc68d1c5b951cfb72dfd54702afdbbf0fb7acdc9b7dc4301bbf2225a27714d \ + --hash=sha256:b7f2f5c525a642cecad24ee8670443ba27ac1fab81bba4cc24c7b6b41f2d0c75 \ + --hash=sha256:b846d59a8d5a9ba87e2c3d757ca019fa576793e8758174d3868aecb88d6fc8eb \ + --hash=sha256:bf8fc66012ca857d62f6a347007e166ed59c0bc150cefa49f28376ebe7d992a2 \ + --hash=sha256:f5d0bf9b252f30a31664b6f64432b4730bb7038339bd18b1fafe129cfc2be9be # via # -r requirements.in # gcp-releasetool diff --git a/CHANGELOG.md b/CHANGELOG.md index b5b18ce886..81705128dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## [2.21.0](https://github.com/googleapis/sdk-platform-java/compare/v2.20.1...v2.21.0) (2023-06-06) + + +### Features + +* Dynamic Routing Headers for HttpJson ([#1667](https://github.com/googleapis/sdk-platform-java/issues/1667)) ([003b993](https://github.com/googleapis/sdk-platform-java/commit/003b993f7ad7cae8ae8c101e0ff147e517dcd83e)) +* Implement awaitTermination() for MangedHttpJsonChannel ([#1677](https://github.com/googleapis/sdk-platform-java/issues/1677)) ([dea8426](https://github.com/googleapis/sdk-platform-java/commit/dea8426a85b53d08d3c8d317a1af4312889b1a3d)) + + +### Bug Fixes + +* [gapic-generator-java] align writer behavior for nested types ([#1709](https://github.com/googleapis/sdk-platform-java/issues/1709)) ([a21ffe8](https://github.com/googleapis/sdk-platform-java/commit/a21ffe88f880c0b3c6b5b512cd4d0741d9620dd3)) +* [gapic-generator-java] update year to 2023 in generated license headers ([#1720](https://github.com/googleapis/sdk-platform-java/issues/1720)) ([ef4a7ff](https://github.com/googleapis/sdk-platform-java/commit/ef4a7ff91b259f0b650cc06bd664eadca7bd17c9)) +* Update the return type of setWaitTimeout for convience ([#1751](https://github.com/googleapis/sdk-platform-java/issues/1751)) ([f1927a5](https://github.com/googleapis/sdk-platform-java/commit/f1927a53306ee28186074e6cb03a933a0cdffc1f)) + + +### Dependencies + +* Update dependency com.google.auth:google-auth-library-credentials and google-auth-library-oauth2-http to v1.17.0 ([#1756](https://github.com/googleapis/sdk-platform-java/issues/1756)) ([f583258](https://github.com/googleapis/sdk-platform-java/commit/f58325893b6ab306adbe4047b6dfc438de133ac7)) +* Update protobuf dependencies to v3.23.2 ([#1755](https://github.com/googleapis/sdk-platform-java/issues/1755)) ([55ecbc3](https://github.com/googleapis/sdk-platform-java/commit/55ecbc35cbd735b8f4aab48e02e080d79828d70c)) + ## [2.20.1](https://github.com/googleapis/sdk-platform-java/compare/v2.20.0...v2.20.1) (2023-05-25) diff --git a/WORKSPACE b/WORKSPACE index 8754cc8c0a..ceca7ce38d 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -60,7 +60,7 @@ maven_install( repositories = ["https://repo.maven.apache.org/maven2/"], ) -_gapic_generator_java_version = "2.20.1" # {x-version-update:gapic-generator-java:current} +_gapic_generator_java_version = "2.21.0" # {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 c35716aec2..e9f1bf7c5a 100644 --- a/api-common-java/pom.xml +++ b/api-common-java/pom.xml @@ -5,14 +5,14 @@ com.google.api api-common jar - 2.11.1 + 2.12.0 API Common Common utilities for Google APIs in Java com.google.api gapic-generator-java-pom-parent - 2.20.1 + 2.21.0 ../gapic-generator-java-pom-parent diff --git a/coverage-report/pom.xml b/coverage-report/pom.xml index dc53e8b0db..43ffbf9f71 100644 --- a/coverage-report/pom.xml +++ b/coverage-report/pom.xml @@ -31,22 +31,22 @@ com.google.api gax - 2.28.1 + 2.29.0 com.google.api gax-grpc - 2.28.1 + 2.29.0 com.google.api gax-httpjson - 0.113.1 + 0.114.0 com.google.api api-common - 2.11.1 + 2.12.0 diff --git a/gapic-generator-java-bom/pom.xml b/gapic-generator-java-bom/pom.xml index c93ea3e99c..b04d575de3 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.20.1 + 2.21.0 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.20.1 + 2.21.0 ../gapic-generator-java-pom-parent @@ -60,61 +60,61 @@ com.google.api api-common - 2.11.1 + 2.12.0 com.google.api gax-bom - 2.28.1 + 2.29.0 pom import com.google.api gapic-generator-java - 2.20.1 + 2.21.0 com.google.api.grpc grpc-google-common-protos - 2.19.1 + 2.20.0 com.google.api.grpc proto-google-common-protos - 2.19.1 + 2.20.0 com.google.api.grpc proto-google-iam-v1 - 1.14.1 + 1.15.0 com.google.api.grpc proto-google-iam-v2 - 1.14.1 + 1.15.0 com.google.api.grpc proto-google-iam-v2beta - 1.14.1 + 1.15.0 com.google.api.grpc grpc-google-iam-v1 - 1.14.1 + 1.15.0 com.google.api.grpc grpc-google-iam-v2 - 1.14.1 + 1.15.0 com.google.api.grpc grpc-google-iam-v2beta - 1.14.1 + 1.15.0 diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml index 84b7a71ead..7cd8219799 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.20.1 + 2.21.0 pom GAPIC Generator Java POM Parent https://github.com/googleapis/sdk-platform-java @@ -27,10 +27,10 @@ consistent across modules in this repository --> 1.3.2 1.55.1 - 1.16.0 + 1.17.0 2.10.1 31.1-jre - 3.23.1 + 3.23.2 8 @@ -189,4 +189,4 @@ https://repo1.maven.org/maven2 - \ No newline at end of file + diff --git a/gapic-generator-java/pom.xml b/gapic-generator-java/pom.xml index 04aead9cc7..e28119804c 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.20.1 + 2.21.0 GAPIC Generator Java GAPIC generator Java @@ -23,7 +23,7 @@ com.google.api gapic-generator-java-pom-parent - 2.20.1 + 2.21.0 ../gapic-generator-java-pom-parent @@ -32,7 +32,7 @@ com.google.api gapic-generator-java-bom - 2.20.1 + 2.21.0 pom import diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/ConcreteReference.java b/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/ConcreteReference.java index 5af0dbe869..48288ab817 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/ConcreteReference.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/ConcreteReference.java @@ -103,14 +103,15 @@ public ImmutableList enclosingClassNames() { if (!hasEnclosingClass()) { return ImmutableList.of(); } - // The innermost type will be the last element in the list. + // Builds list in order of inner to outer. + // Return the reversed list, since the outermost type is expected to lie at index 0. ImmutableList.Builder listBuilder = new ImmutableList.Builder<>(); Class currentClz = clazz(); while (currentClz.getEnclosingClass() != null) { listBuilder.add(currentClz.getEnclosingClass().getSimpleName()); currentClz = currentClz.getEnclosingClass(); } - return listBuilder.build(); + return listBuilder.build().reverse(); } @Override diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/engine/writer/ImportWriterVisitor.java b/gapic-generator-java/src/main/java/com/google/api/generator/engine/writer/ImportWriterVisitor.java index be95e6dcdc..e19e168c3e 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/engine/writer/ImportWriterVisitor.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/engine/writer/ImportWriterVisitor.java @@ -508,9 +508,11 @@ private void handleReference(Reference reference) { staticImports.add(reference.fullName()); } else { if (reference.hasEnclosingClass()) { + // Only import outermost enclosing class, e.g. import com.foo.bar.Outer addImport( String.format( - "%s.%s", reference.pakkage(), String.join(DOT, reference.enclosingClassNames()))); + "%s.%s", + reference.pakkage(), String.join(DOT, reference.enclosingClassNames().get(0)))); } else { addImport(reference.fullName()); } diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/CommentComposer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/CommentComposer.java index 3ed030417a..8b8ca52560 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/CommentComposer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/CommentComposer.java @@ -23,7 +23,7 @@ public class CommentComposer { private static final String APACHE_LICENSE_STRING = - "Copyright 2022 Google LLC\n\n" + "Copyright 2023 Google LLC\n\n" + "Licensed under the Apache License, Version 2.0 (the \"License\");\n" + "you may not use this file except in compliance with the License.\n" + "You may obtain a copy of the License at\n\n" diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractTransportServiceStubClassComposer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractTransportServiceStubClassComposer.java index b566ed5a18..a85ab0c92f 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractTransportServiceStubClassComposer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractTransportServiceStubClassComposer.java @@ -23,6 +23,7 @@ import com.google.api.gax.rpc.ClientStreamingCallable; import com.google.api.gax.rpc.LongRunningClient; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.UnaryCallable; @@ -34,13 +35,18 @@ import com.google.api.generator.engine.ast.EmptyLineStatement; import com.google.api.generator.engine.ast.Expr; import com.google.api.generator.engine.ast.ExprStatement; +import com.google.api.generator.engine.ast.IfStatement; import com.google.api.generator.engine.ast.JavaDocComment; +import com.google.api.generator.engine.ast.LambdaExpr; +import com.google.api.generator.engine.ast.LogicalOperationExpr; import com.google.api.generator.engine.ast.MethodDefinition; import com.google.api.generator.engine.ast.MethodInvocationExpr; import com.google.api.generator.engine.ast.NewObjectExpr; import com.google.api.generator.engine.ast.ReferenceConstructorExpr; +import com.google.api.generator.engine.ast.RelationalOperationExpr; import com.google.api.generator.engine.ast.ScopeNode; import com.google.api.generator.engine.ast.Statement; +import com.google.api.generator.engine.ast.StringObjectValue; import com.google.api.generator.engine.ast.ThisObjectValue; import com.google.api.generator.engine.ast.ThrowExpr; import com.google.api.generator.engine.ast.TryCatchStatement; @@ -56,14 +62,20 @@ import com.google.api.generator.gapic.model.GapicClass.Kind; import com.google.api.generator.gapic.model.GapicContext; import com.google.api.generator.gapic.model.GapicServiceConfig; +import com.google.api.generator.gapic.model.HttpBindings; import com.google.api.generator.gapic.model.Message; import com.google.api.generator.gapic.model.Method; +import com.google.api.generator.gapic.model.RoutingHeaderRule; import com.google.api.generator.gapic.model.Service; +import com.google.api.generator.gapic.model.Transport; import com.google.api.generator.gapic.utils.JavaStyle; +import com.google.api.pathtemplate.PathTemplate; import com.google.common.base.Preconditions; +import com.google.common.base.Splitter; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.longrunning.Operation; +import com.google.protobuf.TypeRegistry; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; @@ -126,6 +138,7 @@ private static TypeStore createStaticTypes() { RequestParamsExtractor.class, ServerStreamingCallable.class, TimeUnit.class, + TypeRegistry.class, UnaryCallable.class, UnsupportedOperationException.class); return new TypeStore(concreteClazzes); @@ -260,11 +273,62 @@ protected List createOperationsStubGetterMethod( .build()); } - protected abstract Expr createTransportSettingsInitExpr( + protected Expr createTransportSettingsInitExpr( Method method, VariableExpr transportSettingsVarExpr, VariableExpr methodDescriptorVarExpr, - List classStatements); + List classStatements) { + MethodInvocationExpr callSettingsBuilderExpr = + MethodInvocationExpr.builder() + .setStaticReferenceType(getTransportContext().transportCallSettingsType()) + .setGenerics(transportSettingsVarExpr.type().reference().generics()) + .setMethodName("newBuilder") + .build(); + callSettingsBuilderExpr = + MethodInvocationExpr.builder() + .setExprReferenceExpr(callSettingsBuilderExpr) + .setMethodName("setMethodDescriptor") + .setArguments(Arrays.asList(methodDescriptorVarExpr)) + .build(); + + // Transport is set to be either REST or GRPC from the sub composers + if (getTransportContext().transport() == Transport.REST) { + callSettingsBuilderExpr = + MethodInvocationExpr.builder() + .setExprReferenceExpr(callSettingsBuilderExpr) + .setMethodName("setTypeRegistry") + .setArguments( + Arrays.asList( + VariableExpr.builder() + .setVariable( + Variable.builder() + .setName("typeRegistry") + .setType(FIXED_TYPESTORE.get(TypeRegistry.class.getSimpleName())) + .build()) + .build())) + .build(); + } + + if (method.shouldSetParamsExtractor()) { + callSettingsBuilderExpr = + MethodInvocationExpr.builder() + .setExprReferenceExpr(callSettingsBuilderExpr) + .setMethodName("setParamsExtractor") + .setArguments(createRequestParamsExtractorClassInstance(method, classStatements)) + .build(); + } + + callSettingsBuilderExpr = + MethodInvocationExpr.builder() + .setExprReferenceExpr(callSettingsBuilderExpr) + .setMethodName("build") + .setReturnType(transportSettingsVarExpr.type()) + .build(); + return AssignmentExpr.builder() + .setVariableExpr(transportSettingsVarExpr.toBuilder().setIsDecl(true).build()) + .setValueExpr(callSettingsBuilderExpr) + .build(); + } protected List createGetMethodDescriptorsMethod( Service service, @@ -1168,4 +1232,254 @@ protected TypeNode getTransportOperationsStubType(Service service) { return transportOpeationsStubType; } + + protected LambdaExpr createRequestParamsExtractorClassInstance( + Method method, List classStatements) { + List bodyStatements = new ArrayList<>(); + VariableExpr requestVarExpr = + VariableExpr.withVariable( + Variable.builder().setType(method.inputType()).setName("request").build()); + TypeNode returnType = + TypeNode.withReference( + ConcreteReference.builder() + .setClazz(Map.class) + .setGenerics(TypeNode.STRING.reference(), TypeNode.STRING.reference()) + .build()); + MethodInvocationExpr.Builder returnExpr = + MethodInvocationExpr.builder().setReturnType(returnType); + // If the google.api.routing annotation is present(even with empty routing parameters), + // the implicit routing headers specified in the google.api.http annotation should not be sent + if (method.routingHeaderRule() == null) { + createRequestParamsExtractorBodyForHttpBindings( + method, requestVarExpr, bodyStatements, returnExpr); + } else { + createRequestParamsExtractorBodyForRoutingHeaders( + method, requestVarExpr, classStatements, bodyStatements, returnExpr); + } + + // Overrides extract(). + // https://github.com/googleapis/gax-java/blob/8d45d186e36ae97b789a6f89d80ae5213a773b65/gax/src/main/java/com/google/api/gax/rpc/RequestParamsExtractor.java#L55 + return LambdaExpr.builder() + .setArguments(requestVarExpr.toBuilder().setIsDecl(true).build()) + .setBody(bodyStatements) + .setReturnExpr(returnExpr.build()) + .build(); + } + + private void createRequestParamsExtractorBodyForHttpBindings( + Method method, + VariableExpr requestVarExpr, + List bodyStatements, + MethodInvocationExpr.Builder returnExprBuilder) { + TypeNode routingHeadersBuilderType = + TypeNode.withReference( + ConcreteReference.builder().setClazz(RequestParamsBuilder.class).build()); + VariableExpr routingHeadersBuilderVarExpr = + VariableExpr.builder() + .setVariable( + Variable.builder().setName("builder").setType(routingHeadersBuilderType).build()) + .setIsDecl(true) + .build(); + MethodInvocationExpr routingHeaderBuilderInvokeExpr = + MethodInvocationExpr.builder() + .setStaticReferenceType(routingHeadersBuilderType) + .setMethodName("create") + .setReturnType(routingHeadersBuilderType) + .build(); + Expr routingHeadersBuilderInitExpr = + AssignmentExpr.builder() + .setVariableExpr(routingHeadersBuilderVarExpr) + .setValueExpr(routingHeaderBuilderInvokeExpr) + .build(); + bodyStatements.add(ExprStatement.withExpr(routingHeadersBuilderInitExpr)); + VariableExpr routingHeadersBuilderVarNonDeclExpr = + VariableExpr.builder() + .setVariable( + Variable.builder().setName("builder").setType(routingHeadersBuilderType).build()) + .build(); + for (HttpBindings.HttpBinding httpBindingFieldBinding : + method.httpBindings().pathParameters()) { + MethodInvocationExpr requestBuilderExpr = + createRequestFieldGetterExpr(requestVarExpr, httpBindingFieldBinding.name()); + Expr valueOfExpr = + MethodInvocationExpr.builder() + .setStaticReferenceType(TypeNode.STRING) + .setMethodName("valueOf") + .setArguments(requestBuilderExpr) + .build(); + + Expr paramsAddExpr = + MethodInvocationExpr.builder() + .setExprReferenceExpr(routingHeadersBuilderVarNonDeclExpr) + .setMethodName("add") + .setArguments( + ValueExpr.withValue(StringObjectValue.withValue(httpBindingFieldBinding.name())), + valueOfExpr) + .build(); + bodyStatements.add(ExprStatement.withExpr(paramsAddExpr)); + } + + returnExprBuilder + .setExprReferenceExpr(routingHeadersBuilderVarNonDeclExpr) + .setMethodName("build"); + } + + private void createRequestParamsExtractorBodyForRoutingHeaders( + Method method, + VariableExpr requestVarExpr, + List classStatements, + List bodyStatements, + MethodInvocationExpr.Builder returnExprBuilder) { + TypeNode routingHeadersBuilderType = + TypeNode.withReference( + ConcreteReference.builder().setClazz(RequestParamsBuilder.class).build()); + VariableExpr routingHeadersBuilderVarExpr = + VariableExpr.builder() + .setVariable( + Variable.builder().setName("builder").setType(routingHeadersBuilderType).build()) + .setIsDecl(true) + .build(); + MethodInvocationExpr routingHeaderBuilderInvokeExpr = + MethodInvocationExpr.builder() + .setStaticReferenceType(routingHeadersBuilderType) + .setMethodName("create") + .setReturnType(routingHeadersBuilderType) + .build(); + Expr routingHeadersBuilderInitExpr = + AssignmentExpr.builder() + .setVariableExpr(routingHeadersBuilderVarExpr) + .setValueExpr(routingHeaderBuilderInvokeExpr) + .build(); + bodyStatements.add(ExprStatement.withExpr(routingHeadersBuilderInitExpr)); + List routingHeaderParams = + method.routingHeaderRule().routingHeaderParams(); + VariableExpr routingHeadersBuilderVarNonDeclExpr = + VariableExpr.builder() + .setVariable( + Variable.builder().setName("builder").setType(routingHeadersBuilderType).build()) + .build(); + for (int i = 0; i < routingHeaderParams.size(); i++) { + RoutingHeaderRule.RoutingHeaderParam routingHeaderParam = routingHeaderParams.get(i); + MethodInvocationExpr requestFieldGetterExpr = + createRequestFieldGetterExpr(requestVarExpr, routingHeaderParam.fieldName()); + Expr routingHeaderKeyExpr = + ValueExpr.withValue(StringObjectValue.withValue(routingHeaderParam.key())); + String pathTemplateName = + String.format("%s_%s_PATH_TEMPLATE", JavaStyle.toUpperSnakeCase(method.name()), i); + TypeNode pathTemplateType = + TypeNode.withReference(ConcreteReference.withClazz(PathTemplate.class)); + Variable pathTemplateVar = + Variable.builder().setType(pathTemplateType).setName(pathTemplateName).build(); + Expr routingHeaderPatternExpr = VariableExpr.withVariable(pathTemplateVar); + Statement pathTemplateClassVar = + createPathTemplateClassStatement(routingHeaderParam, pathTemplateType, pathTemplateVar); + classStatements.add(pathTemplateClassVar); + MethodInvocationExpr addParamMethodExpr = + MethodInvocationExpr.builder() + .setExprReferenceExpr(routingHeadersBuilderVarNonDeclExpr) + .setMethodName("add") + .setArguments(requestFieldGetterExpr, routingHeaderKeyExpr, routingHeaderPatternExpr) + .build(); + + ExprStatement addParamStatement = ExprStatement.withExpr(addParamMethodExpr); + // No need to add null check if there is no nested fields + if (routingHeaderParam.getDescendantFieldNames().size() == 1) { + bodyStatements.add(addParamStatement); + } else { + IfStatement ifStatement = + IfStatement.builder() + .setConditionExpr( + fieldValuesNotNullConditionExpr( + requestVarExpr, routingHeaderParam.getDescendantFieldNames())) + .setBody(ImmutableList.of(addParamStatement)) + .build(); + bodyStatements.add(ifStatement); + } + } + returnExprBuilder + .setExprReferenceExpr(routingHeadersBuilderVarNonDeclExpr) + .setMethodName("build"); + } + + private Statement createPathTemplateClassStatement( + RoutingHeaderRule.RoutingHeaderParam routingHeaderParam, + TypeNode pathTemplateType, + Variable pathTemplateVar) { + VariableExpr pathTemplateVarExpr = + VariableExpr.builder() + .setVariable(pathTemplateVar) + .setIsDecl(true) + .setIsStatic(true) + .setIsFinal(true) + .setScope(ScopeNode.PRIVATE) + .build(); + ValueExpr valueExpr = + ValueExpr.withValue(StringObjectValue.withValue(routingHeaderParam.pattern())); + Expr pathTemplateExpr = + AssignmentExpr.builder() + .setVariableExpr(pathTemplateVarExpr) + .setValueExpr( + MethodInvocationExpr.builder() + .setStaticReferenceType(pathTemplateType) + .setMethodName("create") + .setArguments(valueExpr) + .setReturnType(pathTemplateType) + .build()) + .build(); + return ExprStatement.withExpr(pathTemplateExpr); + } + + private Expr fieldValuesNotNullConditionExpr( + VariableExpr requestVarExpr, List fieldNames) { + MethodInvocationExpr.Builder requestFieldGetterExprBuilder = + MethodInvocationExpr.builder().setExprReferenceExpr(requestVarExpr); + Expr fieldValuesNotNullExpr = null; + for (int i = 0; i < fieldNames.size() - 1; i++) { + String currFieldName = fieldNames.get(i); + String bindingFieldMethodName = + String.format("get%s", JavaStyle.toUpperCamelCase(currFieldName)); + requestFieldGetterExprBuilder = + requestFieldGetterExprBuilder.setMethodName(bindingFieldMethodName); + // set return type of each method invocation to String just to pass the validation for + // RelationalOperationExpr that both side of relational operation needs to be a valid equality + // type + MethodInvocationExpr requestGetterExpr = + requestFieldGetterExprBuilder.setReturnType(TypeNode.STRING).build(); + Expr currentValueNotNullExpr = + RelationalOperationExpr.notEqualToWithExprs( + requestGetterExpr, ValueExpr.createNullExpr()); + if (fieldValuesNotNullExpr == null) { + fieldValuesNotNullExpr = currentValueNotNullExpr; + } else { + fieldValuesNotNullExpr = + LogicalOperationExpr.logicalAndWithExprs( + fieldValuesNotNullExpr, currentValueNotNullExpr); + } + requestFieldGetterExprBuilder = + MethodInvocationExpr.builder().setExprReferenceExpr(requestGetterExpr); + } + return fieldValuesNotNullExpr; + } + + private MethodInvocationExpr createRequestFieldGetterExpr( + VariableExpr requestVarExpr, String fieldName) { + MethodInvocationExpr.Builder requestFieldGetterExprBuilder = + MethodInvocationExpr.builder().setExprReferenceExpr(requestVarExpr); + List descendantFields = Splitter.on(".").splitToList(fieldName); + // Handle foo.bar cases by descending into the subfields. + // e.g. foo.bar -> request.getFoo().getBar() + for (int i = 0; i < descendantFields.size(); i++) { + String currFieldName = descendantFields.get(i); + String bindingFieldMethodName = + String.format("get%s", JavaStyle.toUpperCamelCase(currFieldName)); + requestFieldGetterExprBuilder = + requestFieldGetterExprBuilder.setMethodName(bindingFieldMethodName); + if (i < descendantFields.size() - 1) { + requestFieldGetterExprBuilder = + MethodInvocationExpr.builder() + .setExprReferenceExpr(requestFieldGetterExprBuilder.build()); + } + } + return requestFieldGetterExprBuilder.build(); + } } diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/grpc/GrpcServiceStubClassComposer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/grpc/GrpcServiceStubClassComposer.java index d6eedb9987..c10e5290a1 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/grpc/GrpcServiceStubClassComposer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/grpc/GrpcServiceStubClassComposer.java @@ -16,40 +16,26 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.generator.engine.ast.AssignmentExpr; import com.google.api.generator.engine.ast.ConcreteReference; import com.google.api.generator.engine.ast.EnumRefExpr; import com.google.api.generator.engine.ast.Expr; import com.google.api.generator.engine.ast.ExprStatement; -import com.google.api.generator.engine.ast.IfStatement; -import com.google.api.generator.engine.ast.LambdaExpr; -import com.google.api.generator.engine.ast.LogicalOperationExpr; import com.google.api.generator.engine.ast.MethodInvocationExpr; -import com.google.api.generator.engine.ast.RelationalOperationExpr; import com.google.api.generator.engine.ast.ScopeNode; import com.google.api.generator.engine.ast.Statement; import com.google.api.generator.engine.ast.StringObjectValue; import com.google.api.generator.engine.ast.TypeNode; import com.google.api.generator.engine.ast.ValueExpr; -import com.google.api.generator.engine.ast.Variable; import com.google.api.generator.engine.ast.VariableExpr; import com.google.api.generator.gapic.composer.common.AbstractTransportServiceStubClassComposer; import com.google.api.generator.gapic.composer.store.TypeStore; -import com.google.api.generator.gapic.model.HttpBindings.HttpBinding; import com.google.api.generator.gapic.model.Message; import com.google.api.generator.gapic.model.Method; -import com.google.api.generator.gapic.model.RoutingHeaderRule.RoutingHeaderParam; import com.google.api.generator.gapic.model.Service; -import com.google.api.generator.gapic.utils.JavaStyle; -import com.google.api.pathtemplate.PathTemplate; -import com.google.common.base.Splitter; -import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableMap; import com.google.longrunning.stub.GrpcOperationsStub; import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; -import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; @@ -200,46 +186,6 @@ protected EnumRefExpr getMethodDescriptorMethodTypeExpr(Method protoMethod) { .build(); } - @Override - protected Expr createTransportSettingsInitExpr( - Method method, - VariableExpr transportSettingsVarExpr, - VariableExpr methodDescriptorVarExpr, - List classStatements) { - MethodInvocationExpr callSettingsBuilderExpr = - MethodInvocationExpr.builder() - .setStaticReferenceType(getTransportContext().transportCallSettingsType()) - .setGenerics(transportSettingsVarExpr.type().reference().generics()) - .setMethodName("newBuilder") - .build(); - callSettingsBuilderExpr = - MethodInvocationExpr.builder() - .setExprReferenceExpr(callSettingsBuilderExpr) - .setMethodName("setMethodDescriptor") - .setArguments(Arrays.asList(methodDescriptorVarExpr)) - .build(); - - if (method.shouldSetParamsExtractor()) { - callSettingsBuilderExpr = - MethodInvocationExpr.builder() - .setExprReferenceExpr(callSettingsBuilderExpr) - .setMethodName("setParamsExtractor") - .setArguments(createRequestParamsExtractorClassInstance(method, classStatements)) - .build(); - } - - callSettingsBuilderExpr = - MethodInvocationExpr.builder() - .setExprReferenceExpr(callSettingsBuilderExpr) - .setMethodName("build") - .setReturnType(transportSettingsVarExpr.type()) - .build(); - return AssignmentExpr.builder() - .setVariableExpr(transportSettingsVarExpr.toBuilder().setIsDecl(true).build()) - .setValueExpr(callSettingsBuilderExpr) - .build(); - } - @Override protected String getProtoRpcFullMethodName(Service protoService, Method protoMethod) { if (protoMethod.isMixin()) { @@ -255,244 +201,4 @@ protected String getProtoRpcFullMethodName(Service protoService, Method protoMet // long-term solution. return String.format("google.iam.v1.IAMPolicy/%s", protoMethod.name()); } - - private LambdaExpr createRequestParamsExtractorClassInstance( - Method method, List classStatements) { - List bodyStatements = new ArrayList<>(); - VariableExpr requestVarExpr = - VariableExpr.withVariable( - Variable.builder().setType(method.inputType()).setName("request").build()); - TypeNode returnType = - TypeNode.withReference( - ConcreteReference.builder() - .setClazz(Map.class) - .setGenerics(TypeNode.STRING.reference(), TypeNode.STRING.reference()) - .build()); - MethodInvocationExpr.Builder returnExpr = - MethodInvocationExpr.builder().setReturnType(returnType); - // If the google.api.routing annotation is present(even with empty routing parameters), - // the implicit routing headers specified in the google.api.http annotation should not be sent - if (method.routingHeaderRule() == null) { - createRequestParamsExtractorBodyForHttpBindings( - method, requestVarExpr, bodyStatements, returnExpr); - } else { - createRequestParamsExtractorBodyForRoutingHeaders( - method, requestVarExpr, classStatements, bodyStatements, returnExpr); - } - - // Overrides extract(). - // https://github.com/googleapis/gax-java/blob/8d45d186e36ae97b789a6f89d80ae5213a773b65/gax/src/main/java/com/google/api/gax/rpc/RequestParamsExtractor.java#L55 - return LambdaExpr.builder() - .setArguments(requestVarExpr.toBuilder().setIsDecl(true).build()) - .setBody(bodyStatements) - .setReturnExpr(returnExpr.build()) - .build(); - } - - private void createRequestParamsExtractorBodyForHttpBindings( - Method method, - VariableExpr requestVarExpr, - List bodyStatements, - MethodInvocationExpr.Builder returnExprBuilder) { - TypeNode paramsVarType = - TypeNode.withReference( - ConcreteReference.builder() - .setClazz(ImmutableMap.Builder.class) - .setGenerics(TypeNode.STRING.reference(), TypeNode.STRING.reference()) - .build()); - VariableExpr paramsVarExpr = - VariableExpr.withVariable( - Variable.builder().setName("params").setType(paramsVarType).build()); - - Expr paramsAssignExpr = - AssignmentExpr.builder() - .setVariableExpr(paramsVarExpr.toBuilder().setIsDecl(true).build()) - .setValueExpr( - MethodInvocationExpr.builder() - .setStaticReferenceType(FIXED_TYPESTORE.get("ImmutableMap")) - .setMethodName("builder") - .setReturnType(paramsVarType) - .build()) - .build(); - bodyStatements.add(ExprStatement.withExpr(paramsAssignExpr)); - - for (HttpBinding httpBindingFieldBinding : method.httpBindings().pathParameters()) { - MethodInvocationExpr requestBuilderExpr = - createRequestFieldGetterExpr(requestVarExpr, httpBindingFieldBinding.name()); - Expr valueOfExpr = - MethodInvocationExpr.builder() - .setStaticReferenceType(TypeNode.STRING) - .setMethodName("valueOf") - .setArguments(requestBuilderExpr) - .build(); - - Expr paramsPutExpr = - MethodInvocationExpr.builder() - .setExprReferenceExpr(paramsVarExpr) - .setMethodName("put") - .setArguments( - ValueExpr.withValue(StringObjectValue.withValue(httpBindingFieldBinding.name())), - valueOfExpr) - .build(); - bodyStatements.add(ExprStatement.withExpr(paramsPutExpr)); - } - - returnExprBuilder.setExprReferenceExpr(paramsVarExpr).setMethodName("build"); - } - - private void createRequestParamsExtractorBodyForRoutingHeaders( - Method method, - VariableExpr requestVarExpr, - List classStatements, - List bodyStatements, - MethodInvocationExpr.Builder returnExprBuilder) { - TypeNode routingHeadersBuilderType = - TypeNode.withReference( - ConcreteReference.builder().setClazz(RequestParamsBuilder.class).build()); - VariableExpr routingHeadersBuilderVarExpr = - VariableExpr.builder() - .setVariable( - Variable.builder().setName("builder").setType(routingHeadersBuilderType).build()) - .setIsDecl(true) - .build(); - MethodInvocationExpr routingHeaderBuilderInvokeExpr = - MethodInvocationExpr.builder() - .setStaticReferenceType(routingHeadersBuilderType) - .setMethodName("create") - .setReturnType(routingHeadersBuilderType) - .build(); - Expr routingHeadersBuilderInitExpr = - AssignmentExpr.builder() - .setVariableExpr(routingHeadersBuilderVarExpr) - .setValueExpr(routingHeaderBuilderInvokeExpr) - .build(); - bodyStatements.add(ExprStatement.withExpr(routingHeadersBuilderInitExpr)); - List routingHeaderParams = method.routingHeaderRule().routingHeaderParams(); - VariableExpr routingHeadersBuilderVarNonDeclExpr = - VariableExpr.builder() - .setVariable( - Variable.builder().setName("builder").setType(routingHeadersBuilderType).build()) - .build(); - for (int i = 0; i < routingHeaderParams.size(); i++) { - RoutingHeaderParam routingHeaderParam = routingHeaderParams.get(i); - MethodInvocationExpr requestFieldGetterExpr = - createRequestFieldGetterExpr(requestVarExpr, routingHeaderParam.fieldName()); - Expr routingHeaderKeyExpr = - ValueExpr.withValue(StringObjectValue.withValue(routingHeaderParam.key())); - String pathTemplateName = - String.format("%s_%s_PATH_TEMPLATE", JavaStyle.toUpperSnakeCase(method.name()), i); - TypeNode pathTemplateType = - TypeNode.withReference(ConcreteReference.withClazz(PathTemplate.class)); - Variable pathTemplateVar = - Variable.builder().setType(pathTemplateType).setName(pathTemplateName).build(); - Expr routingHeaderPatternExpr = VariableExpr.withVariable(pathTemplateVar); - Statement pathTemplateClassVar = - createPathTemplateClassStatement(routingHeaderParam, pathTemplateType, pathTemplateVar); - classStatements.add(pathTemplateClassVar); - MethodInvocationExpr addParamMethodExpr = - MethodInvocationExpr.builder() - .setExprReferenceExpr(routingHeadersBuilderVarNonDeclExpr) - .setMethodName("add") - .setArguments(requestFieldGetterExpr, routingHeaderKeyExpr, routingHeaderPatternExpr) - .build(); - - ExprStatement addParamStatement = ExprStatement.withExpr(addParamMethodExpr); - // No need to add null check if there is no nested fields - if (routingHeaderParam.getDescendantFieldNames().size() == 1) { - bodyStatements.add(addParamStatement); - } else { - IfStatement ifStatement = - IfStatement.builder() - .setConditionExpr( - fieldValuesNotNullConditionExpr( - requestVarExpr, routingHeaderParam.getDescendantFieldNames())) - .setBody(ImmutableList.of(addParamStatement)) - .build(); - bodyStatements.add(ifStatement); - } - } - returnExprBuilder - .setExprReferenceExpr(routingHeadersBuilderVarNonDeclExpr) - .setMethodName("build"); - } - - private Statement createPathTemplateClassStatement( - RoutingHeaderParam routingHeaderParam, TypeNode pathTemplateType, Variable pathTemplateVar) { - VariableExpr pathTemplateVarExpr = - VariableExpr.builder() - .setVariable(pathTemplateVar) - .setIsDecl(true) - .setIsStatic(true) - .setIsFinal(true) - .setScope(ScopeNode.PRIVATE) - .build(); - ValueExpr valueExpr = - ValueExpr.withValue(StringObjectValue.withValue(routingHeaderParam.pattern())); - Expr pathTemplateExpr = - AssignmentExpr.builder() - .setVariableExpr(pathTemplateVarExpr) - .setValueExpr( - MethodInvocationExpr.builder() - .setStaticReferenceType(pathTemplateType) - .setMethodName("create") - .setArguments(valueExpr) - .setReturnType(pathTemplateType) - .build()) - .build(); - return ExprStatement.withExpr(pathTemplateExpr); - } - - private Expr fieldValuesNotNullConditionExpr( - VariableExpr requestVarExpr, List fieldNames) { - MethodInvocationExpr.Builder requestFieldGetterExprBuilder = - MethodInvocationExpr.builder().setExprReferenceExpr(requestVarExpr); - Expr fieldValuesNotNullExpr = null; - for (int i = 0; i < fieldNames.size() - 1; i++) { - String currFieldName = fieldNames.get(i); - String bindingFieldMethodName = - String.format("get%s", JavaStyle.toUpperCamelCase(currFieldName)); - requestFieldGetterExprBuilder = - requestFieldGetterExprBuilder.setMethodName(bindingFieldMethodName); - // set return type of each method invocation to String just to pass the validation for - // RelationalOperationExpr that both side of relational operation needs to be a valid equality - // type - MethodInvocationExpr requestGetterExpr = - requestFieldGetterExprBuilder.setReturnType(TypeNode.STRING).build(); - Expr currentValueNotNullExpr = - RelationalOperationExpr.notEqualToWithExprs( - requestGetterExpr, ValueExpr.createNullExpr()); - if (fieldValuesNotNullExpr == null) { - fieldValuesNotNullExpr = currentValueNotNullExpr; - } else { - fieldValuesNotNullExpr = - LogicalOperationExpr.logicalAndWithExprs( - fieldValuesNotNullExpr, currentValueNotNullExpr); - } - requestFieldGetterExprBuilder = - MethodInvocationExpr.builder().setExprReferenceExpr(requestGetterExpr); - } - return fieldValuesNotNullExpr; - } - - private MethodInvocationExpr createRequestFieldGetterExpr( - VariableExpr requestVarExpr, String fieldName) { - MethodInvocationExpr.Builder requestFieldGetterExprBuilder = - MethodInvocationExpr.builder().setExprReferenceExpr(requestVarExpr); - List descendantFields = Splitter.on(".").splitToList(fieldName); - // Handle foo.bar cases by descending into the subfields. - // e.g. foo.bar -> request.getFoo().getBar() - for (int i = 0; i < descendantFields.size(); i++) { - String currFieldName = descendantFields.get(i); - String bindingFieldMethodName = - String.format("get%s", JavaStyle.toUpperCamelCase(currFieldName)); - requestFieldGetterExprBuilder = - requestFieldGetterExprBuilder.setMethodName(bindingFieldMethodName); - if (i < descendantFields.size() - 1) { - requestFieldGetterExprBuilder = - MethodInvocationExpr.builder() - .setExprReferenceExpr(requestFieldGetterExprBuilder.build()); - } - } - return requestFieldGetterExprBuilder.build(); - } } diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/rest/HttpJsonServiceStubClassComposer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/rest/HttpJsonServiceStubClassComposer.java index c1be8dc67b..19e7cfbcbb 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/rest/HttpJsonServiceStubClassComposer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/rest/HttpJsonServiceStubClassComposer.java @@ -210,45 +210,6 @@ protected List createOperationsStubGetterMethod( return super.createOperationsStubGetterMethod(service, operationsStubVarExpr); } - @Override - protected Expr createTransportSettingsInitExpr( - Method method, - VariableExpr transportSettingsVarExpr, - VariableExpr methodDescriptorVarExpr, - List classStatements) { - MethodInvocationExpr callSettingsBuilderExpr = - MethodInvocationExpr.builder() - .setStaticReferenceType( - FIXED_REST_TYPESTORE.get(HttpJsonCallSettings.class.getSimpleName())) - .setGenerics(transportSettingsVarExpr.type().reference().generics()) - .setMethodName("newBuilder") - .build(); - callSettingsBuilderExpr = - MethodInvocationExpr.builder() - .setExprReferenceExpr(callSettingsBuilderExpr) - .setMethodName("setMethodDescriptor") - .setArguments(Arrays.asList(methodDescriptorVarExpr)) - .build(); - - callSettingsBuilderExpr = - MethodInvocationExpr.builder() - .setExprReferenceExpr(callSettingsBuilderExpr) - .setMethodName("setTypeRegistry") - .setArguments(Arrays.asList(TYPE_REGISTRY_VAR_EXPR)) - .build(); - - callSettingsBuilderExpr = - MethodInvocationExpr.builder() - .setExprReferenceExpr(callSettingsBuilderExpr) - .setMethodName("build") - .setReturnType(transportSettingsVarExpr.type()) - .build(); - return AssignmentExpr.builder() - .setVariableExpr(transportSettingsVarExpr.toBuilder().setIsDecl(true).build()) - .setValueExpr(callSettingsBuilderExpr) - .build(); - } - @Override protected List createClassAnnotations(Service service) { List annotations = super.createClassAnnotations(service); diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/ImportWriterVisitorTest.java b/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/ImportWriterVisitorTest.java index d0afaa9042..4977749e0e 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/ImportWriterVisitorTest.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/ImportWriterVisitorTest.java @@ -58,6 +58,7 @@ import com.google.api.generator.test.utils.LineFormatter; import com.google.common.base.Function; import com.google.common.base.Strings; +import com.google.testgapic.v1beta1.Outer; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; @@ -428,6 +429,27 @@ public void writeVariableExprImports_annotationsWithDescription() { writerVisitor.write()); } + @Test + public void writeVaporReferenceImport_outermostForNestedClass() { + VaporReference nestedVaporReference = + VaporReference.builder() + .setName("Inner") + .setEnclosingClassNames(Arrays.asList("Outer", "Middle")) + .setPakkage("com.google.testgapic.v1beta1") + .build(); + + TypeNode.withReference(nestedVaporReference).accept(writerVisitor); + assertEquals("import com.google.testgapic.v1beta1.Outer;\n\n", writerVisitor.write()); + } + + @Test + public void writeConcreteReferenceImport_outermostForNestedClass() { + ConcreteReference nestedConcreteReference = + ConcreteReference.withClazz(Outer.Middle.Inner.class); + TypeNode.withReference(nestedConcreteReference).accept(writerVisitor); + assertEquals("import com.google.testgapic.v1beta1.Outer;\n\n", writerVisitor.write()); + } + @Test public void writeAnonymousClassExprImports() { // [Constructing] Function, MethodDefinition> diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/JavaWriterVisitorTest.java b/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/JavaWriterVisitorTest.java index fa1301f49a..71ae78ae05 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/JavaWriterVisitorTest.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/JavaWriterVisitorTest.java @@ -71,9 +71,16 @@ import com.google.api.generator.engine.ast.Variable; import com.google.api.generator.engine.ast.VariableExpr; import com.google.api.generator.engine.ast.WhileStatement; +import com.google.api.generator.gapic.composer.grpc.ServiceClientClassComposer; +import com.google.api.generator.gapic.model.GapicClass; +import com.google.api.generator.gapic.model.GapicContext; +import com.google.api.generator.gapic.model.Service; +import com.google.api.generator.test.framework.Assert; +import com.google.api.generator.test.protoloader.TestProtoLoader; import com.google.api.generator.test.utils.LineFormatter; import com.google.api.generator.test.utils.TestExprBuilder; import com.google.common.base.Function; +import com.google.testgapic.v1beta1.Outer; import java.io.IOException; import java.util.Arrays; import java.util.Collections; @@ -129,6 +136,26 @@ public void writeReferenceType_basic() { assertEquals("FooBar", writerVisitor.write()); } + @Test + public void writeVaporReferenceType_nestedClasses() { + VaporReference nestedVaporReference = + VaporReference.builder() + .setName("Inner") + .setEnclosingClassNames(Arrays.asList("Outer", "Middle")) + .setPakkage("com.google.testgapic.v1beta1") + .build(); + TypeNode.withReference(nestedVaporReference).accept(writerVisitor); + assertEquals("Outer.Middle.Inner", writerVisitor.write()); + } + + @Test + public void writeConcreteReferenceType_nestedClasses() { + ConcreteReference nestedConcreteReference = + ConcreteReference.withClazz(Outer.Middle.Inner.class); + TypeNode.withReference(nestedConcreteReference).accept(writerVisitor); + assertEquals("Outer.Middle.Inner", writerVisitor.write()); + } + @Test public void writeReferenceType_useFullName() { TypeNode.withReference( @@ -2796,6 +2823,17 @@ public void writePackageInfoDefinition() { writerVisitor.write()); } + /** =============================== GOLDEN TESTS =============================== */ + @Test + public void writeSGrpcServiceClientWithNestedClassImport() { + GapicContext context = TestProtoLoader.instance().parseNestedMessage(); + Service nestedService = context.services().get(0); + GapicClass clazz = ServiceClientClassComposer.instance().generate(context, nestedService); + + Assert.assertGoldenClass( + this.getClass(), clazz, "GrpcServiceClientWithNestedClassImport.golden"); + } + /** =============================== HELPERS =============================== */ private static AssignmentExpr createAssignmentExpr( String variableName, String value, TypeNode type) { diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/goldens/GrpcServiceClientWithNestedClassImport.golden b/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/goldens/GrpcServiceClientWithNestedClassImport.golden new file mode 100644 index 0000000000..84c259a6b6 --- /dev/null +++ b/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/goldens/GrpcServiceClientWithNestedClassImport.golden @@ -0,0 +1,216 @@ +package com.google.types.testing; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.testgapic.v1beta1.Outer; +import com.google.types.testing.stub.NestedMessageServiceStub; +import com.google.types.testing.stub.NestedMessageServiceStubSettings; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * This class provides the ability to make remote calls to the backing service through method calls + * that map to API methods. Sample code to get started: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (NestedMessageServiceClient nestedMessageServiceClient =
+ *     NestedMessageServiceClient.create()) {
+ *   Outer.Middle request = Outer.Middle.newBuilder().setX(120).build();
+ *   Outer.Middle.Inner response = nestedMessageServiceClient.nestedMessageMethod(request);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the NestedMessageServiceClient object to clean up + * resources such as threads. In the example above, try-with-resources is used, which automatically + * calls close(). + * + *

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of NestedMessageServiceSettings + * to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * NestedMessageServiceSettings nestedMessageServiceSettings =
+ *     NestedMessageServiceSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * NestedMessageServiceClient nestedMessageServiceClient =
+ *     NestedMessageServiceClient.create(nestedMessageServiceSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * NestedMessageServiceSettings nestedMessageServiceSettings =
+ *     NestedMessageServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * NestedMessageServiceClient nestedMessageServiceClient =
+ *     NestedMessageServiceClient.create(nestedMessageServiceSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class NestedMessageServiceClient implements BackgroundResource { + private final NestedMessageServiceSettings settings; + private final NestedMessageServiceStub stub; + + /** Constructs an instance of NestedMessageServiceClient with default settings. */ + public static final NestedMessageServiceClient create() throws IOException { + return create(NestedMessageServiceSettings.newBuilder().build()); + } + + /** + * Constructs an instance of NestedMessageServiceClient, using the given settings. The channels + * are created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final NestedMessageServiceClient create(NestedMessageServiceSettings settings) + throws IOException { + return new NestedMessageServiceClient(settings); + } + + /** + * Constructs an instance of NestedMessageServiceClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(NestedMessageServiceSettings). + */ + public static final NestedMessageServiceClient create(NestedMessageServiceStub stub) { + return new NestedMessageServiceClient(stub); + } + + /** + * Constructs an instance of NestedMessageServiceClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected NestedMessageServiceClient(NestedMessageServiceSettings settings) throws IOException { + this.settings = settings; + this.stub = ((NestedMessageServiceStubSettings) settings.getStubSettings()).createStub(); + } + + protected NestedMessageServiceClient(NestedMessageServiceStub stub) { + this.settings = null; + this.stub = stub; + } + + public final NestedMessageServiceSettings getSettings() { + return settings; + } + + public NestedMessageServiceStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NestedMessageServiceClient nestedMessageServiceClient =
+   *     NestedMessageServiceClient.create()) {
+   *   Outer.Middle request = Outer.Middle.newBuilder().setX(120).build();
+   *   Outer.Middle.Inner response = nestedMessageServiceClient.nestedMessageMethod(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Outer.Middle.Inner nestedMessageMethod(Outer.Middle request) { + return nestedMessageMethodCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sample code: + * + *
{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NestedMessageServiceClient nestedMessageServiceClient =
+   *     NestedMessageServiceClient.create()) {
+   *   Outer.Middle request = Outer.Middle.newBuilder().setX(120).build();
+   *   ApiFuture future =
+   *       nestedMessageServiceClient.nestedMessageMethodCallable().futureCall(request);
+   *   // Do something.
+   *   Outer.Middle.Inner response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable nestedMessageMethodCallable() { + return stub.nestedMessageMethodCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } +} diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/goldens/ComposerPostProcOnFooBar.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/goldens/ComposerPostProcOnFooBar.golden index ae7b63ea5b..df5c785728 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/goldens/ComposerPostProcOnFooBar.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/goldens/ComposerPostProcOnFooBar.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcLoggingStub.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcLoggingStub.golden index 09386582c9..00931520dc 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcLoggingStub.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcLoggingStub.golden @@ -10,8 +10,8 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.logging.v2.DeleteLogRequest; import com.google.logging.v2.ListLogEntriesRequest; import com.google.logging.v2.ListLogEntriesResponse; @@ -173,9 +173,9 @@ public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub { .setMethodDescriptor(deleteLogMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("log_name", String.valueOf(request.getLogName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("log_name", String.valueOf(request.getLogName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -201,9 +201,9 @@ public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub { .setMethodDescriptor(listLogsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcPublisherStub.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcPublisherStub.golden index 1b61e70b05..ceef5178af 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcPublisherStub.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcPublisherStub.golden @@ -9,8 +9,8 @@ import com.google.api.gax.core.BackgroundResourceAggregation; import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.longrunning.stub.GrpcOperationsStub; import com.google.protobuf.Empty; import com.google.pubsub.v1.DeleteTopicRequest; @@ -190,9 +190,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(createTopicMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings updateTopicTransportSettings = @@ -200,9 +200,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(updateTopicMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic.name", String.valueOf(request.getTopic().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic.name", String.valueOf(request.getTopic().getName())); + return builder.build(); }) .build(); GrpcCallSettings publishTransportSettings = @@ -210,9 +210,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(publishMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings getTopicTransportSettings = @@ -220,9 +220,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(getTopicMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings listTopicsTransportSettings = @@ -230,9 +230,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(listTopicsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("project", String.valueOf(request.getProject())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + return builder.build(); }) .build(); GrpcCallSettings @@ -242,9 +242,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(listTopicSubscriptionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings @@ -253,9 +253,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(listTopicSnapshotsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings deleteTopicTransportSettings = @@ -263,9 +263,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(deleteTopicMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings @@ -274,9 +274,9 @@ public class GrpcPublisherStub extends PublisherStub { .setMethodDescriptor(detachSubscriptionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcRoutingHeadersStub.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcRoutingHeadersStub.golden index 84489dd164..3ab4142af4 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcRoutingHeadersStub.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcRoutingHeadersStub.golden @@ -8,7 +8,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.api.pathtemplate.PathTemplate; -import com.google.common.collect.ImmutableMap; import com.google.explicit.dynamic.routing.header.Request; import com.google.explicit.dynamic.routing.header.RequestWithNestedField; import com.google.longrunning.stub.GrpcOperationsStub; @@ -407,9 +406,9 @@ public class GrpcExplicitDynamicRoutingHeaderTestingStub .setMethodDescriptor(backwardsCompatible3TestMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("table_name", String.valueOf(request.getTableName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table_name", String.valueOf(request.getTableName())); + return builder.build(); }) .build(); GrpcCallSettings nestedFieldTestTransportSettings = diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcTestingStub.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcTestingStub.golden index 6c0a667291..1cfa747b03 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcTestingStub.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/GrpcTestingStub.golden @@ -12,7 +12,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.api.pathtemplate.PathTemplate; -import com.google.common.collect.ImmutableMap; import com.google.longrunning.stub.GrpcOperationsStub; import com.google.protobuf.Empty; import com.google.showcase.v1beta1.CreateSessionRequest; @@ -193,9 +192,9 @@ public class GrpcTestingStub extends TestingStub { .setMethodDescriptor(getSessionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listSessionsTransportSettings = @@ -207,9 +206,9 @@ public class GrpcTestingStub extends TestingStub { .setMethodDescriptor(deleteSessionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings reportSessionTransportSettings = @@ -217,9 +216,9 @@ public class GrpcTestingStub extends TestingStub { .setMethodDescriptor(reportSessionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getTestTransportSettings = @@ -241,9 +240,9 @@ public class GrpcTestingStub extends TestingStub { .setMethodDescriptor(listTestsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings deleteTestTransportSettings = @@ -251,9 +250,9 @@ public class GrpcTestingStub extends TestingStub { .setMethodDescriptor(deleteTestMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings verifyTestTransportSettings = @@ -261,14 +260,14 @@ public class GrpcTestingStub extends TestingStub { .setMethodDescriptor(verifyTestMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("answer", String.valueOf(request.getAnswer())); - params.put("foo", String.valueOf(request.getFoo())); - params.put("name", String.valueOf(request.getName())); - params.put( + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("answer", String.valueOf(request.getAnswer())); + builder.add("foo", String.valueOf(request.getFoo())); + builder.add("name", String.valueOf(request.getName())); + builder.add( "test_to_verify.name", String.valueOf(request.getTestToVerify().getName())); - params.put("type", String.valueOf(request.getType())); - return params.build(); + builder.add("type", String.valueOf(request.getType())); + return builder.build(); }) .build(); diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/AsyncGetBook.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/AsyncGetBook.golden index 87236a1311..2075fe98e1 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/AsyncGetBook.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/AsyncGetBook.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetCredentialsProvider.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetCredentialsProvider.golden index 346f1125da..0a9a4f2ffb 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetCredentialsProvider.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetCredentialsProvider.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetEndpoint.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetEndpoint.golden index 43cd64aa7c..27f7625c64 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetEndpoint.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetEndpoint.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBook.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBook.golden index bd89a8fc05..e22ee5fea5 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBook.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBook.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookIntListbook.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookIntListbook.golden index 31c6a24d01..2a33fc0676 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookIntListbook.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookIntListbook.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookStringListbook.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookStringListbook.golden index f2d3903e1b..62700fbf70 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookStringListbook.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookStringListbook.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncFastFibonacci.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncFastFibonacci.golden index ea0ae6c62d..4a83d5f50b 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncFastFibonacci.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncFastFibonacci.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncSlowFibonacci.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncSlowFibonacci.golden index 3e4f69d714..beadb0d587 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncSlowFibonacci.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncSlowFibonacci.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetCredentialsProvider.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetCredentialsProvider.golden index 34f20df610..3769b22111 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetCredentialsProvider.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetCredentialsProvider.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetEndpoint.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetEndpoint.golden index 8d5f08f8af..fca612b9d9 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetEndpoint.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetEndpoint.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncFastFibonacci.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncFastFibonacci.golden index e067991442..ef80cf71e1 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncFastFibonacci.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncFastFibonacci.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncSlowFibonacci.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncSlowFibonacci.golden index a6dfe7ece4..e4eb2674e0 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncSlowFibonacci.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncSlowFibonacci.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncBlock.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncBlock.golden index fcb7690270..c0a4225098 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncBlock.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncBlock.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChat.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChat.golden index 2ef5f41da6..13867b1bb8 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChat.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChat.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChatAgain.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChatAgain.golden index 4e8eaa63f4..aba2c145d9 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChatAgain.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChatAgain.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollect.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollect.golden index b2ff87a8c4..0103bdc4a5 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollect.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollect.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollideName.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollideName.golden index 8a13eb4386..f606fdf6ed 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollideName.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollideName.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncEcho.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncEcho.golden index 1188e05d7e..2c9d336813 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncEcho.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncEcho.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncExpand.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncExpand.golden index 3d804cf625..bd0dbd67c3 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncExpand.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncExpand.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpand.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpand.golden index 653f0c2489..263ecdb56c 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpand.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpand.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpandPaged.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpandPaged.golden index 854477fe8f..0b9b6dfacf 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpandPaged.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpandPaged.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpand.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpand.golden index d0decc78d6..ff8639cb22 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpand.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpand.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpandPaged.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpandPaged.golden index 0ab1bb2620..30e005a7cd 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpandPaged.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpandPaged.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWait.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWait.golden index b433d3de7b..ecce4857a4 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWait.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWait.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWaitLRO.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWaitLRO.golden index ee7219e6a5..adb9c736e6 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWaitLRO.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWaitLRO.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncBlock.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncBlock.golden index 49083f06a5..a4b32fc486 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncBlock.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncBlock.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCollideName.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCollideName.golden index f54228fe7b..57a842f907 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCollideName.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCollideName.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetCredentialsProvider.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetCredentialsProvider.golden index 137d71af02..9b4b152e29 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetCredentialsProvider.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetCredentialsProvider.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetEndpoint.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetEndpoint.golden index b6a2ea7d5b..cc3e67e69f 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetEndpoint.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetEndpoint.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEcho.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEcho.golden index c17dbf2e4a..f9fbef3fff 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEcho.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEcho.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoFoobarname.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoFoobarname.golden index dd60585688..f59a42ae39 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoFoobarname.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoFoobarname.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoNoargs.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoNoargs.golden index 7876817dac..841b531167 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoNoargs.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoNoargs.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoResourcename.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoResourcename.golden index 8f06e73ae8..926a154a8d 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoResourcename.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoResourcename.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStatus.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStatus.golden index 292f2fd990..784f5a2695 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStatus.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStatus.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString.golden index 32f664871e..9440c4d5e4 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString1.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString1.golden index 96630803f2..5065f39c30 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString1.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString1.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString2.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString2.golden index eccc2e54f9..c34aed13e1 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString2.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString2.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStringSeverity.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStringSeverity.golden index 966053a99d..4d67f18d1c 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStringSeverity.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStringSeverity.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncPagedExpand.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncPagedExpand.golden index b30d626699..986ecaf45f 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncPagedExpand.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncPagedExpand.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpand.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpand.golden index ba9caf6133..16c71b5499 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpand.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpand.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpandNoargs.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpandNoargs.golden index 050f9b3d74..99ef99e387 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpandNoargs.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpandNoargs.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWait.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWait.golden index 426785177c..2eced308e8 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWait.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWait.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitDuration.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitDuration.golden index c045e0e3ec..ef4683df4c 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitDuration.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitDuration.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitTimestamp.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitTimestamp.golden index c4cfdca153..759f7f87ab 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitTimestamp.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitTimestamp.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncCreateUser.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncCreateUser.golden index 42b3f90307..29000431b4 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncCreateUser.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncCreateUser.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncDeleteUser.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncDeleteUser.golden index 09d4bf8625..78d0fd4326 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncDeleteUser.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncDeleteUser.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncGetUser.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncGetUser.golden index ab82342d69..7adc658311 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncGetUser.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncGetUser.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsers.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsers.golden index 07b5e7b761..8f2b202126 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsers.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsers.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsersPaged.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsersPaged.golden index 2dd52c01a9..e0f0310f22 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsersPaged.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsersPaged.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncUpdateUser.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncUpdateUser.golden index 6a77b3f29d..387affb9be 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncUpdateUser.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncUpdateUser.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetCredentialsProvider.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetCredentialsProvider.golden index 170fb27fb1..769aba202e 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetCredentialsProvider.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetCredentialsProvider.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetEndpoint.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetEndpoint.golden index 33dd94a49b..220556f0b8 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetEndpoint.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetEndpoint.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUser.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUser.golden index 7fb81d997e..69763e3bb9 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUser.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUser.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringString.golden index 39feaa06d3..c88bc54fb0 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringIntStringBooleanDouble.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringIntStringBooleanDouble.golden index 338a1262a2..d50c95273a 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringIntStringBooleanDouble.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringIntStringBooleanDouble.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringStringStringIntStringStringStringString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringStringStringIntStringStringStringString.golden index e56b757fe6..89c7ee0a01 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringStringStringIntStringStringStringString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringStringStringIntStringStringStringString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUser.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUser.golden index 1142599cce..76ceb90b61 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUser.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUser.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserString.golden index a809efb619..76f995e4c9 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserUsername.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserUsername.golden index 742b1e748c..cc3ac7dac8 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserUsername.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserUsername.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUser.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUser.golden index e3bf802301..d2901f191a 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUser.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUser.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserString.golden index 73c4cf2bba..1928699768 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserUsername.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserUsername.golden index 4af40f648d..25c73251ff 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserUsername.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserUsername.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncListUsers.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncListUsers.golden index d111584331..084cbff215 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncListUsers.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncListUsers.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncUpdateUser.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncUpdateUser.golden index beca349fe1..c715daae9a 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncUpdateUser.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncUpdateUser.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncConnect.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncConnect.golden index 1527fbf21c..d423861427 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncConnect.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncConnect.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateBlurb.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateBlurb.golden index 7d4dedad14..447e1d9e1b 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateBlurb.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateBlurb.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateRoom.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateRoom.golden index 0b97e48893..2d8b87caf3 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateRoom.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateRoom.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteBlurb.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteBlurb.golden index 541b576c49..a00a171cfc 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteBlurb.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteBlurb.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteRoom.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteRoom.golden index a848b99195..a1ba1bb205 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteRoom.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteRoom.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetBlurb.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetBlurb.golden index 91561164d4..a1c2659be9 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetBlurb.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetBlurb.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetRoom.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetRoom.golden index e18adcb4fe..56fc06eecf 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetRoom.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetRoom.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbs.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbs.golden index f61cbee5ec..56e7b73ad0 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbs.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbs.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbsPaged.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbsPaged.golden index 261b3be58b..d7f2110b81 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbsPaged.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbsPaged.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRooms.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRooms.golden index 0fa5c5dd31..a3cb64f36b 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRooms.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRooms.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRoomsPaged.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRoomsPaged.golden index 83a9c04205..f829038f14 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRoomsPaged.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRoomsPaged.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbs.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbs.golden index a492728b11..4bb7a8975b 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbs.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbs.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbsLRO.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbsLRO.golden index c4db52aceb..07cb78a7f3 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbsLRO.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbsLRO.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSendBlurbs.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSendBlurbs.golden index 9275afa82b..ffc9d3dde4 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSendBlurbs.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSendBlurbs.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncStreamBlurbs.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncStreamBlurbs.golden index eeefc7952e..4565791b18 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncStreamBlurbs.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncStreamBlurbs.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateBlurb.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateBlurb.golden index f7b197c194..6b8bff8f49 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateBlurb.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateBlurb.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateRoom.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateRoom.golden index 7bdf9bed17..53ea875a7a 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateRoom.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateRoom.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurb.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurb.golden index 57d0f0c180..855d6a2440 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurb.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurb.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameBytestring.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameBytestring.golden index ab5a62701c..97d6a19ce9 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameBytestring.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameBytestring.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameString.golden index a7efb77b5d..233e2b3841 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameBytestring.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameBytestring.golden index 143145ac95..10d52bc935 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameBytestring.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameBytestring.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameString.golden index 8b7d8c6bbf..d9ee46ab2c 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringBytestring.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringBytestring.golden index 08e2fc9a9b..8c1c827090 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringBytestring.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringBytestring.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringString.golden index f77ae6eb0f..53ecf9f0aa 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoom.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoom.golden index f1ac7b0bf8..fdac8a0b2f 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoom.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoom.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoomStringString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoomStringString.golden index 05a335d704..ba4d46bf13 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoomStringString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoomStringString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetCredentialsProvider.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetCredentialsProvider.golden index 2707298f00..522af01970 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetCredentialsProvider.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetCredentialsProvider.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetEndpoint.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetEndpoint.golden index 53141d54ff..52df001948 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetEndpoint.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetEndpoint.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurb.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurb.golden index 16d8a41623..404bd8536f 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurb.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurb.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbBlurbname.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbBlurbname.golden index 752875d995..1ddc11828c 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbBlurbname.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbBlurbname.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbString.golden index c52c8d070f..c485970fdb 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoom.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoom.golden index 621d024d15..1fea939f10 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoom.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoom.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomRoomname.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomRoomname.golden index bd203c1483..9d924be4de 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomRoomname.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomRoomname.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomString.golden index d65c2b43dd..868736466b 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurb.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurb.golden index 16570a645d..a0bfb09983 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurb.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurb.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbBlurbname.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbBlurbname.golden index 012a36a6da..ec2db38ea6 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbBlurbname.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbBlurbname.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbString.golden index ec7957a5d6..60d8ad8b33 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoom.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoom.golden index 12aef664c1..620480644d 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoom.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoom.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomRoomname.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomRoomname.golden index b732876cb2..7fc83b18a8 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomRoomname.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomRoomname.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomString.golden index ce6113ed1a..d437addcf9 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbs.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbs.golden index af34fdbf29..b917b58397 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbs.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbs.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsProfilename.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsProfilename.golden index ce95287fb5..f09354852f 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsProfilename.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsProfilename.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsRoomname.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsRoomname.golden index f3bac1b2b5..105dc940e0 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsRoomname.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsRoomname.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsString.golden index 89f24d8d1b..44c4cefba9 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListRooms.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListRooms.golden index 0318e80856..2b4feb296d 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListRooms.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListRooms.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbs.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbs.golden index 09e3843acc..2cfdf89c0e 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbs.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbs.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbsString.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbsString.golden index 2fbae35501..3ff5c00a3d 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbsString.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbsString.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateBlurb.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateBlurb.golden index cc949cd2e2..103a8b1516 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateBlurb.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateBlurb.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateRoom.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateRoom.golden index f532f73957..cad841f469 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateRoom.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateRoom.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncEcho.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncEcho.golden index 5d031b7c77..ce58c981ce 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncEcho.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncEcho.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncFastFibonacci.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncFastFibonacci.golden index 90cd534cee..758dc5d338 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncFastFibonacci.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncFastFibonacci.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncCreateTopic.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncCreateTopic.golden index 7417d5b42e..a2436dd7bd 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncCreateTopic.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncCreateTopic.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncDeleteLog.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncDeleteLog.golden index a72b00ae23..f4e781755e 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncDeleteLog.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncDeleteLog.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncEcho.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncEcho.golden index 968fb98297..ce06222e4b 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncEcho.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncEcho.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncFastFibonacci.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncFastFibonacci.golden index 042d351178..625d4b6a12 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncFastFibonacci.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncFastFibonacci.golden @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/GrpcEchoStub.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/GrpcEchoStub.golden index c500e10c31..c52c8d3f07 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/GrpcEchoStub.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/GrpcEchoStub.golden @@ -11,9 +11,9 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.longrunning.Operation; import com.google.longrunning.stub.GrpcOperationsStub; import com.google.showcase.grpcrest.v1beta1.BlockRequest; @@ -225,9 +225,9 @@ public class GrpcEchoStub extends EchoStub { .setMethodDescriptor(nestedBindingMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("foo_bar.name", String.valueOf(request.getFooBar().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("foo_bar.name", String.valueOf(request.getFooBar().getName())); + return builder.build(); }) .build(); GrpcCallSettings chatTransportSettings = @@ -243,9 +243,9 @@ public class GrpcEchoStub extends EchoStub { .setMethodDescriptor(updateCaseMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("case.name", String.valueOf(request.getCase().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("case.name", String.valueOf(request.getCase().getName())); + return builder.build(); }) .build(); diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/HttpJsonEchoStub.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/HttpJsonEchoStub.golden index 909b6cfdba..a679c9c10e 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/HttpJsonEchoStub.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/goldens/HttpJsonEchoStub.golden @@ -20,6 +20,7 @@ import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.common.collect.ImmutableMap; @@ -514,11 +515,23 @@ public class HttpJsonEchoStub extends EchoStub { HttpJsonCallSettings.newBuilder() .setMethodDescriptor(nestedBindingMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("foo_bar.name", String.valueOf(request.getFooBar().getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings updateCaseTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(updateCaseMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("case.name", String.valueOf(request.getCase().getName())); + return builder.build(); + }) .build(); this.echoCallable = diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/HttpJsonServiceStubClassComposerTest.java b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/HttpJsonServiceStubClassComposerTest.java index a99d23a7c6..f96e67217f 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/HttpJsonServiceStubClassComposerTest.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/HttpJsonServiceStubClassComposerTest.java @@ -196,4 +196,15 @@ public void testGetOperationsURIValueFromHttpRule() { IllegalArgumentException.class, () -> composer.getOperationsURIValueFromHttpRule(customHttpRule)); } + + @Test + public void generateGrpcServiceStubClass_routingHeaders() { + GapicContext context = + RestTestProtoLoader.instance().parseExplicitDynamicRoutingHeaderTesting(); + Service service = context.services().get(0); + GapicClass clazz = HttpJsonServiceStubClassComposer.instance().generate(context, service); + + Assert.assertGoldenClass(this.getClass(), clazz, "HttpJsonRoutingHeadersStub.golden"); + Assert.assertEmptySamples(clazz.samples()); + } } diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/goldens/HttpJsonComplianceStub.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/goldens/HttpJsonComplianceStub.golden index bf282ba988..8ec6f14061 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/goldens/HttpJsonComplianceStub.golden +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/goldens/HttpJsonComplianceStub.golden @@ -11,6 +11,7 @@ import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.protobuf.TypeRegistry; import com.google.showcase.v1beta1.EnumRequest; @@ -419,17 +420,46 @@ public class HttpJsonComplianceStub extends ComplianceStub { HttpJsonCallSettings.newBuilder() .setMethodDescriptor(repeatDataSimplePathMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("info.f_bool", String.valueOf(request.getInfo().getFBool())); + builder.add("info.f_double", String.valueOf(request.getInfo().getFDouble())); + builder.add("info.f_int32", String.valueOf(request.getInfo().getFInt32())); + builder.add("info.f_kingdom", String.valueOf(request.getInfo().getFKingdom())); + builder.add("info.f_string", String.valueOf(request.getInfo().getFString())); + return builder.build(); + }) .build(); HttpJsonCallSettings repeatDataPathResourceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(repeatDataPathResourceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("info.f_bool", String.valueOf(request.getInfo().getFBool())); + builder.add( + "info.f_child.f_string", + String.valueOf(request.getInfo().getFChild().getFString())); + builder.add("info.f_string", String.valueOf(request.getInfo().getFString())); + return builder.build(); + }) .build(); HttpJsonCallSettings repeatDataPathTrailingResourceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(repeatDataPathTrailingResourceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "info.f_child.f_string", + String.valueOf(request.getInfo().getFChild().getFString())); + builder.add("info.f_string", String.valueOf(request.getInfo().getFString())); + return builder.build(); + }) .build(); HttpJsonCallSettings getEnumTransportSettings = HttpJsonCallSettings.newBuilder() diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/goldens/HttpJsonRoutingHeadersStub.golden b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/goldens/HttpJsonRoutingHeadersStub.golden new file mode 100644 index 0000000000..56b00d49ea --- /dev/null +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/goldens/HttpJsonRoutingHeadersStub.golden @@ -0,0 +1,372 @@ +package com.google.explicit.dynamic.routing.header.stub; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.pathtemplate.PathTemplate; +import com.google.explicit.dynamic.routing.header.Request; +import com.google.explicit.dynamic.routing.header.RequestWithNestedField; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the ExplicitDynamicRoutingHeaderTesting service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonExplicitDynamicRoutingHeaderTestingStub + extends ExplicitDynamicRoutingHeaderTestingStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + backwardsCompatible1TestMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.explicit.dynamic.routing.header.ExplicitDynamicRoutingHeaderTesting/BackwardsCompatible1Test") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{tableName=tests/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "tableName", request.getTableName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "appProfileId", request.getAppProfileId()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + backwardsCompatible2TestMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.explicit.dynamic.routing.header.ExplicitDynamicRoutingHeaderTesting/BackwardsCompatible2Test") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{tableName=tests/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "tableName", request.getTableName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "appProfileId", request.getAppProfileId()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + backwardsCompatible3TestMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.explicit.dynamic.routing.header.ExplicitDynamicRoutingHeaderTesting/BackwardsCompatible3Test") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{tableName=tests/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "tableName", request.getTableName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "appProfileId", request.getAppProfileId()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable backwardsCompatible1TestCallable; + private final UnaryCallable backwardsCompatible2TestCallable; + private final UnaryCallable backwardsCompatible3TestCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + private static final PathTemplate BACKWARDS_COMPATIBLE1_TEST_0_PATH_TEMPLATE = + PathTemplate.create("{routing_id=projects/*}/**"); + + public static final HttpJsonExplicitDynamicRoutingHeaderTestingStub create( + ExplicitDynamicRoutingHeaderTestingStubSettings settings) throws IOException { + return new HttpJsonExplicitDynamicRoutingHeaderTestingStub( + settings, ClientContext.create(settings)); + } + + public static final HttpJsonExplicitDynamicRoutingHeaderTestingStub create( + ClientContext clientContext) throws IOException { + return new HttpJsonExplicitDynamicRoutingHeaderTestingStub( + ExplicitDynamicRoutingHeaderTestingStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonExplicitDynamicRoutingHeaderTestingStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonExplicitDynamicRoutingHeaderTestingStub( + ExplicitDynamicRoutingHeaderTestingStubSettings.newBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonExplicitDynamicRoutingHeaderTestingStub, using the given + * settings. This is protected so that it is easy to make a subclass, but otherwise, the static + * factory methods should be preferred. + */ + protected HttpJsonExplicitDynamicRoutingHeaderTestingStub( + ExplicitDynamicRoutingHeaderTestingStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonExplicitDynamicRoutingHeaderTestingCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonExplicitDynamicRoutingHeaderTestingStub, using the given + * settings. This is protected so that it is easy to make a subclass, but otherwise, the static + * factory methods should be preferred. + */ + protected HttpJsonExplicitDynamicRoutingHeaderTestingStub( + ExplicitDynamicRoutingHeaderTestingStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings backwardsCompatible1TestTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(backwardsCompatible1TestMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), + "routing_id", + BACKWARDS_COMPATIBLE1_TEST_0_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + HttpJsonCallSettings backwardsCompatible2TestTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(backwardsCompatible2TestMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings backwardsCompatible3TestTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(backwardsCompatible3TestMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table_name", String.valueOf(request.getTableName())); + return builder.build(); + }) + .build(); + + this.backwardsCompatible1TestCallable = + callableFactory.createUnaryCallable( + backwardsCompatible1TestTransportSettings, + settings.backwardsCompatible1TestSettings(), + clientContext); + this.backwardsCompatible2TestCallable = + callableFactory.createUnaryCallable( + backwardsCompatible2TestTransportSettings, + settings.backwardsCompatible2TestSettings(), + clientContext); + this.backwardsCompatible3TestCallable = + callableFactory.createUnaryCallable( + backwardsCompatible3TestTransportSettings, + settings.backwardsCompatible3TestSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(backwardsCompatible1TestMethodDescriptor); + methodDescriptors.add(backwardsCompatible2TestMethodDescriptor); + methodDescriptors.add(backwardsCompatible3TestMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable backwardsCompatible1TestCallable() { + return backwardsCompatible1TestCallable; + } + + @Override + public UnaryCallable backwardsCompatible2TestCallable() { + return backwardsCompatible2TestCallable; + } + + @Override + public UnaryCallable backwardsCompatible3TestCallable() { + return backwardsCompatible3TestCallable; + } + + @Override + public UnaryCallable example1TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example1TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example2TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example2TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example3TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example3TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example3CTestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example3CTestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example4TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example4TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example5TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example5TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example6TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example6TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example7TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example7TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example8TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example8TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable example9TestCallable() { + throw new UnsupportedOperationException( + "Not implemented: example9TestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public UnaryCallable nestedFieldTestCallable() { + throw new UnsupportedOperationException( + "Not implemented: nestedFieldTestCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/test/protoloader/TestProtoLoader.java b/gapic-generator-java/src/test/java/com/google/api/generator/test/protoloader/TestProtoLoader.java index 25f6b1a50c..79d37baf4f 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/test/protoloader/TestProtoLoader.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/test/protoloader/TestProtoLoader.java @@ -41,6 +41,8 @@ import com.google.showcase.v1beta1.MessagingOuterClass; import com.google.showcase.v1beta1.TestingOuterClass; import com.google.testdata.v1.DeprecatedServiceOuterClass; +import com.google.testgapic.v1beta1.NestedMessageProto; +import com.google.types.testing.TypesTestingProto; import google.cloud.CommonResources; import java.nio.file.Path; import java.nio.file.Paths; @@ -131,6 +133,30 @@ public GapicContext parseBookshopService() { .build(); } + public GapicContext parseNestedMessage() { + FileDescriptor fileDescriptor = TypesTestingProto.getDescriptor(); + ServiceDescriptor serviceDescriptor = fileDescriptor.getServices().get(0); + assertEquals(serviceDescriptor.getName(), "NestedMessageService"); + Map messageTypes = Parser.parseMessages(fileDescriptor); + + FileDescriptor messageFileDescriptor = NestedMessageProto.getDescriptor(); + messageTypes.putAll(Parser.parseMessages(messageFileDescriptor)); + + Map resourceNames = new HashMap<>(); + Set outputResourceNames = new HashSet<>(); + List services = + Parser.parseService( + fileDescriptor, messageTypes, resourceNames, Optional.empty(), outputResourceNames); + + return GapicContext.builder() + .setMessages(messageTypes) + .setResourceNames(resourceNames) + .setServices(services) + .setHelperResourceNames(outputResourceNames) + .setTransport(transport) + .build(); + } + public GapicContext parseShowcaseEcho() { FileDescriptor echoFileDescriptor = EchoOuterClass.getDescriptor(); ServiceDescriptor echoServiceDescriptor = echoFileDescriptor.getServices().get(0); diff --git a/gapic-generator-java/src/test/proto/types_testing.proto b/gapic-generator-java/src/test/proto/types_testing.proto new file mode 100644 index 0000000000..40ba28c4ec --- /dev/null +++ b/gapic-generator-java/src/test/proto/types_testing.proto @@ -0,0 +1,32 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// 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. + +syntax = "proto3"; + +import "google/api/client.proto"; +import "nested_message.proto"; + +package google.types.testing; + +option java_package = "com.google.types.testing"; +option java_multiple_files = true; +option java_outer_classname = "TypesTestingProto"; + +// A service to test handling of deeply-nested types +service NestedMessageService { + option (google.api.default_host) = "localhost:7469"; + // Testing with nested message from a different package to require imports in generated code + rpc NestedMessageMethod(google.testgapic.Outer.Middle) returns (google.testgapic.Outer.Middle.Inner); +} + diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties index 097522b7d5..34b87afea2 100644 --- a/gax-java/dependencies.properties +++ b/gax-java/dependencies.properties @@ -8,22 +8,22 @@ # Versions of oneself # {x-version-update-start:gax:current} -version.gax=2.28.1 +version.gax=2.29.0 # {x-version-update-end} # {x-version-update-start:gax:current} -version.gax_grpc=2.28.1 +version.gax_grpc=2.29.0 # {x-version-update-end} # {x-version-update-start:gax:current} -version.gax_bom=2.28.1 +version.gax_bom=2.29.0 # {x-version-update-end} # {x-version-update-start:gax-httpjson:current} -version.gax_httpjson=0.113.1 +version.gax_httpjson=0.114.0 # {x-version-update-end} # Versions for dependencies which actual artifacts differ between Bazel and Gradle. # Gradle build depends on prebuilt maven artifacts, while Bazel build depends on Bazel workspaces # with the sources. -version.com_google_protobuf=3.21.12 +version.com_google_protobuf=3.23.2 version.google_java_format=1.15.0 version.io_grpc=1.54.0 @@ -34,8 +34,8 @@ version.io_grpc=1.54.0 # 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.15.0 maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:2.15.0 -maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:1.16.0 -maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:1.16.0 +maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:1.17.0 +maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:1.17.0 maven.io_opencensus_opencensus_api=io.opencensus:opencensus-api:0.31.1 maven.io_opencensus_opencensus_contrib_grpc_metrics=io.opencensus:opencensus-contrib-grpc-metrics:0.31.1 maven.io_opencensus_opencensus_contrib_http_util=io.opencensus:opencensus-contrib-http-util:0.31.1 diff --git a/gax-java/gax-bom/pom.xml b/gax-java/gax-bom/pom.xml index 7fccc6fb10..c294ad79d4 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.28.1 + 2.29.0 pom GAX (Google Api eXtensions) for Java (BOM) Google Api eXtensions for Java (BOM) @@ -43,55 +43,55 @@ com.google.api gax - 2.28.1 + 2.29.0 com.google.api gax - 2.28.1 + 2.29.0 test-jar testlib com.google.api gax - 2.28.1 + 2.29.0 testlib com.google.api gax-grpc - 2.28.1 + 2.29.0 com.google.api gax-grpc - 2.28.1 + 2.29.0 test-jar testlib com.google.api gax-grpc - 2.28.1 + 2.29.0 testlib com.google.api gax-httpjson - 0.113.1 + 0.114.0 com.google.api gax-httpjson - 0.113.1 + 0.114.0 test-jar testlib com.google.api gax-httpjson - 0.113.1 + 0.114.0 testlib diff --git a/gax-java/gax-grpc/pom.xml b/gax-java/gax-grpc/pom.xml index cdd93ae1bd..b1d2472302 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.28.1 + 2.29.0 jar GAX (Google Api eXtensions) for Java (gRPC) Google Api eXtensions for Java (gRPC) @@ -11,7 +11,7 @@ com.google.api gax-parent - 2.28.1 + 2.29.0 diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/CallOptionsUtil.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/CallOptionsUtil.java index f36da0d4d9..9d6e85bdaa 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/CallOptionsUtil.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/CallOptionsUtil.java @@ -29,6 +29,7 @@ */ package com.google.api.gax.grpc; +import com.google.api.gax.rpc.internal.Headers; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import io.grpc.CallOptions; @@ -45,7 +46,7 @@ class CallOptionsUtil { "gax_dynamic_headers", Collections., String>emptyMap()); // this is the header name, it is transferred over the wire static Metadata.Key REQUEST_PARAMS_HEADER_KEY = - Metadata.Key.of("x-goog-request-params", Metadata.ASCII_STRING_MARSHALLER); + Metadata.Key.of(Headers.DYNAMIC_ROUTING_HEADER_KEY, Metadata.ASCII_STRING_MARSHALLER); private static final CallOptions.Key METADATA_HANDLER_CALL_OPTION_KEY = CallOptions.Key.createWithDefault("gax_metadata_handler", null); diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcServerStreamingRequestParamCallable.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcServerStreamingRequestParamCallable.java index 5e0a59851e..27b4c56454 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcServerStreamingRequestParamCallable.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcServerStreamingRequestParamCallable.java @@ -51,8 +51,7 @@ class GrpcServerStreamingRequestParamCallable ServerStreamingCallable callable, RequestParamsExtractor paramsExtractor) { this.callable = Preconditions.checkNotNull(callable); - this.paramsEncoder = - new RequestUrlParamsEncoder<>(Preconditions.checkNotNull(paramsExtractor), false); + this.paramsEncoder = new RequestUrlParamsEncoder<>(Preconditions.checkNotNull(paramsExtractor)); } @Override @@ -62,8 +61,14 @@ public void call( } private ApiCallContext contextWithParamsEncoder(RequestT request, ApiCallContext inputContext) { - return GrpcCallContext.createDefault() - .nullToSelf(inputContext) - .withRequestParamsDynamicHeaderOption(paramsEncoder.encode(request)); + ApiCallContext newCallContext = inputContext; + String encodedHeader = paramsEncoder.encode(request); + if (!encodedHeader.isEmpty()) { + newCallContext = + GrpcCallContext.createDefault() + .nullToSelf(inputContext) + .withRequestParamsDynamicHeaderOption(encodedHeader); + } + return newCallContext; } } diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcUnaryRequestParamCallable.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcUnaryRequestParamCallable.java index 9eb78aca0d..22bbd8409b 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcUnaryRequestParamCallable.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcUnaryRequestParamCallable.java @@ -51,16 +51,19 @@ class GrpcUnaryRequestParamCallable UnaryCallable callable, RequestParamsExtractor paramsExtractor) { this.callable = Preconditions.checkNotNull(callable); - this.paramsEncoder = - new RequestUrlParamsEncoder<>(Preconditions.checkNotNull(paramsExtractor), false); + this.paramsEncoder = new RequestUrlParamsEncoder<>(Preconditions.checkNotNull(paramsExtractor)); } @Override public ApiFuture futureCall(RequestT request, ApiCallContext inputContext) { - GrpcCallContext newCallContext = - GrpcCallContext.createDefault() - .nullToSelf(inputContext) - .withRequestParamsDynamicHeaderOption(paramsEncoder.encode(request)); + ApiCallContext newCallContext = inputContext; + String encodedHeader = paramsEncoder.encode(request); + if (!encodedHeader.isEmpty()) { + newCallContext = + GrpcCallContext.createDefault() + .nullToSelf(inputContext) + .withRequestParamsDynamicHeaderOption(encodedHeader); + } return callable.futureCall(request, newCallContext); } diff --git a/gax-java/gax-httpjson/pom.xml b/gax-java/gax-httpjson/pom.xml index d9fc938995..a1cc6d7ced 100644 --- a/gax-java/gax-httpjson/pom.xml +++ b/gax-java/gax-httpjson/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gax-httpjson - 0.113.1 + 0.114.0 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.28.1 + 2.29.0 diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallSettings.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallSettings.java index ac013ed74a..7dd7732175 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallSettings.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallSettings.java @@ -29,23 +29,29 @@ */ package com.google.api.gax.httpjson; +import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.protobuf.TypeRegistry; /** HTTP-specific settings for creating callables. */ public class HttpJsonCallSettings { private final ApiMethodDescriptor methodDescriptor; + private final RequestParamsExtractor paramsExtractor; private final TypeRegistry typeRegistry; - private HttpJsonCallSettings( - ApiMethodDescriptor methodDescriptor, TypeRegistry typeRegistry) { - this.methodDescriptor = methodDescriptor; - this.typeRegistry = typeRegistry; + private HttpJsonCallSettings(Builder builder) { + this.methodDescriptor = builder.methodDescriptor; + this.paramsExtractor = builder.paramsExtractor; + this.typeRegistry = builder.typeRegistry; } public ApiMethodDescriptor getMethodDescriptor() { return methodDescriptor; } + public RequestParamsExtractor getParamsExtractor() { + return paramsExtractor; + } + public TypeRegistry getTypeRegistry() { return typeRegistry; } @@ -67,6 +73,7 @@ public Builder toBuilder() { public static class Builder { private ApiMethodDescriptor methodDescriptor; + private RequestParamsExtractor paramsExtractor; private TypeRegistry typeRegistry; private Builder() {} @@ -81,13 +88,19 @@ public Builder setMethodDescriptor( return this; } + public Builder setParamsExtractor( + RequestParamsExtractor paramsExtractor) { + this.paramsExtractor = paramsExtractor; + return this; + } + public Builder setTypeRegistry(TypeRegistry typeRegistry) { this.typeRegistry = typeRegistry; return this; } public HttpJsonCallSettings build() { - return new HttpJsonCallSettings<>(methodDescriptor, typeRegistry); + return new HttpJsonCallSettings<>(this); } } } diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallableFactory.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallableFactory.java index 6131c911f8..d95751e3b0 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallableFactory.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallableFactory.java @@ -60,8 +60,16 @@ private HttpJsonCallableFactory() {} private static UnaryCallable createDirectUnaryCallable( HttpJsonCallSettings httpJsonCallSettings) { - return new HttpJsonDirectCallable( - httpJsonCallSettings.getMethodDescriptor(), httpJsonCallSettings.getTypeRegistry()); + UnaryCallable callable = + new HttpJsonDirectCallable<>( + httpJsonCallSettings.getMethodDescriptor(), httpJsonCallSettings.getTypeRegistry()); + + if (httpJsonCallSettings.getParamsExtractor() != null) { + callable = + new HttpJsonUnaryRequestParamCallable<>( + callable, httpJsonCallSettings.getParamsExtractor()); + } + return callable; } static UnaryCallable createUnaryCallable( @@ -180,6 +188,12 @@ ServerStreamingCallable createServerStreamingCallable( ServerStreamingCallable callable = new HttpJsonDirectServerStreamingCallable<>(httpJsoncallSettings.getMethodDescriptor()); + if (httpJsoncallSettings.getParamsExtractor() != null) { + callable = + new HttpJsonServerStreamingRequestParamCallable<>( + callable, httpJsoncallSettings.getParamsExtractor()); + } + callable = new HttpJsonExceptionServerStreamingCallable<>( callable, streamingCallSettings.getRetryableCodes()); diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonClientCalls.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonClientCalls.java index c0b9719574..ae1ae3ca84 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonClientCalls.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonClientCalls.java @@ -37,7 +37,7 @@ import org.threeten.bp.Duration; /** - * {@code HttpJsonClientCalls} creates a new {@code HttpJsonClientCAll} from the given call context. + * {@code HttpJsonClientCalls} creates a new {@code HttpJsonClientCall} from the given call context. * *

Package-private for internal use. */ @@ -68,8 +68,8 @@ public static HttpJsonClientCall newC .toBuilder() .setTimeout(java.time.Duration.ofMillis(httpJsonContext.getTimeout().toMillis())) .build(); - httpJsonContext = httpJsonContext.withCallOptions(callOptions); } + httpJsonContext = httpJsonContext.withCallOptions(callOptions); } // TODO: add headers interceptor logic @@ -77,10 +77,14 @@ public static HttpJsonClientCall newC } static ApiFuture futureUnaryCall( - HttpJsonClientCall clientCall, RequestT request) { + HttpJsonClientCall clientCall, + RequestT request, + HttpJsonCallContext context) { // Start the call HttpJsonFuture future = new HttpJsonFuture<>(clientCall); - clientCall.start(new FutureListener<>(future), HttpJsonMetadata.newBuilder().build()); + clientCall.start( + new FutureListener<>(future), + HttpJsonMetadata.newBuilder().build().withHeaders(context.getExtraHeaders())); // Send the request try { diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectCallable.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectCallable.java index c631ca60c8..abf3290067 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectCallable.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectCallable.java @@ -65,7 +65,7 @@ public ApiFuture futureCall(RequestT request, ApiCallContext inputCon HttpJsonClientCall clientCall = HttpJsonClientCalls.newCall(descriptor, context); - return HttpJsonClientCalls.futureUnaryCall(clientCall, request); + return HttpJsonClientCalls.futureUnaryCall(clientCall, request, context); } @Override diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallable.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallable.java index ed3bebde31..2f98ac177e 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallable.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallable.java @@ -64,6 +64,6 @@ public void call( HttpJsonClientCall call = HttpJsonClientCalls.newCall(descriptor, context); HttpJsonDirectStreamController controller = new HttpJsonDirectStreamController<>(call, responseObserver); - controller.start(request); + controller.start(request, context); } } diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectStreamController.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectStreamController.java index 5f56390f04..9e1b23b257 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectStreamController.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonDirectStreamController.java @@ -29,6 +29,7 @@ */ package com.google.api.gax.httpjson; +import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ResponseObserver; import com.google.api.gax.rpc.StreamController; import com.google.common.base.Preconditions; @@ -80,10 +81,12 @@ public void request(int count) { } } - void start(RequestT request) { + void start(RequestT request, ApiCallContext context) { responseObserver.onStart(this); this.hasStarted = true; - clientCall.start(new ResponseObserverAdapter(), HttpJsonMetadata.newBuilder().build()); + clientCall.start( + new ResponseObserverAdapter(), + HttpJsonMetadata.newBuilder().build().withHeaders(context.getExtraHeaders())); if (autoflowControl) { clientCall.request(1); diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonMetadata.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonMetadata.java index 9fef6db5c5..7985396075 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonMetadata.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonMetadata.java @@ -33,6 +33,8 @@ import com.google.api.core.InternalExtensionOnly; import com.google.auto.value.AutoValue; import java.util.Collections; +import java.util.HashMap; +import java.util.List; import java.util.Map; import javax.annotation.Nullable; @@ -54,6 +56,22 @@ public static HttpJsonMetadata.Builder newBuilder() { return new AutoValue_HttpJsonMetadata.Builder().setHeaders(Collections.emptyMap()); } + public HttpJsonMetadata withHeaders(Map> headers) { + Map extraHeaders = new HashMap<>(); + for (Map.Entry> entrySet : headers.entrySet()) { + // HeaderValueList is always non-null. Check that it contains at least one value. + // Should only ever contain one value, but take the first one if there are multiple. + // TODO(https://github.com/googleapis/sdk-platform-java/issues/1752): + // Investigate how to better support extraHeaders + List headerValueList = entrySet.getValue(); + if (headerValueList.isEmpty()) { + continue; + } + extraHeaders.put(entrySet.getKey(), headerValueList.get(0)); + } + return toBuilder().setHeaders(extraHeaders).build(); + } + @AutoValue.Builder abstract static class Builder { abstract Builder setHeaders(Map headers); diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonServerStreamingRequestParamCallable.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonServerStreamingRequestParamCallable.java new file mode 100644 index 0000000000..7b1d615961 --- /dev/null +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonServerStreamingRequestParamCallable.java @@ -0,0 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Google LLC nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package com.google.api.gax.httpjson; + +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.RequestParamsExtractor; +import com.google.api.gax.rpc.RequestUrlParamsEncoder; +import com.google.api.gax.rpc.ResponseObserver; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.internal.Headers; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; + +public class HttpJsonServerStreamingRequestParamCallable + extends ServerStreamingCallable { + private final ServerStreamingCallable callable; + private final RequestUrlParamsEncoder paramsEncoder; + + HttpJsonServerStreamingRequestParamCallable( + ServerStreamingCallable callable, + RequestParamsExtractor paramsExtractor) { + this.callable = Preconditions.checkNotNull(callable); + this.paramsEncoder = new RequestUrlParamsEncoder<>(Preconditions.checkNotNull(paramsExtractor)); + } + + @Override + public void call( + RequestT request, ResponseObserver responseObserver, ApiCallContext context) { + ApiCallContext newCallContext = context; + String encodedHeader = paramsEncoder.encode(request); + if (!encodedHeader.isEmpty()) { + newCallContext = + HttpJsonCallContext.createDefault() + .nullToSelf(context) + .withExtraHeaders( + ImmutableMap.of( + Headers.DYNAMIC_ROUTING_HEADER_KEY, ImmutableList.of(encodedHeader))); + } + callable.call(request, responseObserver, newCallContext); + } +} diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonUnaryRequestParamCallable.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonUnaryRequestParamCallable.java new file mode 100644 index 0000000000..3770872e87 --- /dev/null +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonUnaryRequestParamCallable.java @@ -0,0 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Google LLC nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package com.google.api.gax.httpjson; + +import com.google.api.core.ApiFuture; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.RequestParamsExtractor; +import com.google.api.gax.rpc.RequestUrlParamsEncoder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.gax.rpc.internal.Headers; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; + +/** + * A {@code UnaryCallable} that extracts values from the fields of the request and inserts them into + * headers. + * + *

Package-private for internal usage. + */ +class HttpJsonUnaryRequestParamCallable + extends UnaryCallable { + private final UnaryCallable callable; + private final RequestUrlParamsEncoder paramsEncoder; + + public HttpJsonUnaryRequestParamCallable( + UnaryCallable callable, + RequestParamsExtractor paramsExtractor) { + this.callable = Preconditions.checkNotNull(callable); + this.paramsEncoder = new RequestUrlParamsEncoder<>(Preconditions.checkNotNull(paramsExtractor)); + } + + @Override + public ApiFuture futureCall(RequestT request, ApiCallContext context) { + ApiCallContext newCallContext = context; + String encodedHeader = paramsEncoder.encode(request); + if (!encodedHeader.isEmpty()) { + newCallContext = + HttpJsonCallContext.createDefault() + .nullToSelf(context) + .withExtraHeaders( + ImmutableMap.of( + Headers.DYNAMIC_ROUTING_HEADER_KEY, ImmutableList.of(encodedHeader))); + } + return callable.futureCall(request, newCallContext); + } +} diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProvider.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProvider.java index 57b0ff1284..c9dd85442e 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProvider.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProvider.java @@ -186,6 +186,8 @@ private HttpJsonTransportChannel createChannel() throws IOException, GeneralSecu httpTransportToUse = createHttpTransport(); } + // Pass the executor to the ManagedChannel. If no executor was provided (or null), + // the channel will use a default executor for the calls. ManagedHttpJsonChannel channel = ManagedHttpJsonChannel.newBuilder() .setEndpoint(endpoint) diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonChannel.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonChannel.java index e6fe38d5ef..22e333752a 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonChannel.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonChannel.java @@ -34,6 +34,7 @@ import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import java.io.IOException; import java.util.concurrent.Executor; @@ -47,23 +48,24 @@ @BetaApi public class ManagedHttpJsonChannel implements HttpJsonChannel, BackgroundResource { - private static final ExecutorService DEFAULT_EXECUTOR = - InstantiatingExecutorProvider.newBuilder().build().getExecutor(); - private final Executor executor; + private final boolean usingDefaultExecutor; private final String endpoint; private final HttpTransport httpTransport; private final ScheduledExecutorService deadlineScheduledExecutorService; - private boolean isTransportShutdown; protected ManagedHttpJsonChannel() { - this(null, null, null); + this(null, true, null, null); } private ManagedHttpJsonChannel( - Executor executor, String endpoint, @Nullable HttpTransport httpTransport) { + Executor executor, + boolean usingDefaultExecutor, + String endpoint, + @Nullable HttpTransport httpTransport) { this.executor = executor; + this.usingDefaultExecutor = usingDefaultExecutor; this.endpoint = endpoint; this.httpTransport = httpTransport == null ? new NetHttpTransport() : httpTransport; this.deadlineScheduledExecutorService = Executors.newSingleThreadScheduledExecutor(); @@ -82,46 +84,105 @@ public HttpJsonClientCall newCall( deadlineScheduledExecutorService); } + @VisibleForTesting + Executor getExecutor() { + return executor; + } + @Override public synchronized void shutdown() { + // Calling shutdown/ shutdownNow() twice should no-op if (isTransportShutdown) { return; } try { + // Only shutdown the executor if it was created by Gax. External executors + // should be managed by the user. + if (shouldManageExecutor()) { + ((ExecutorService) executor).shutdown(); + } deadlineScheduledExecutorService.shutdown(); httpTransport.shutdown(); isTransportShutdown = true; } catch (IOException e) { - e.printStackTrace(); + // TODO: Log this scenario once we implemented the Cloud SDK logging. + // Swallow error if httpTransport shutdown fails } } @Override public boolean isShutdown() { - return isTransportShutdown; + // TODO(lawrenceqiu): Expose an isShutdown() method for HttpTransport + boolean isShutdown = isTransportShutdown && deadlineScheduledExecutorService.isShutdown(); + // Check that the Gax's ExecutorService is shutdown as well + if (shouldManageExecutor()) { + isShutdown = isShutdown && ((ExecutorService) executor).isShutdown(); + } + return isShutdown; } @Override public boolean isTerminated() { - return isTransportShutdown; + boolean isTerminated = deadlineScheduledExecutorService.isTerminated(); + // Check that the Gax's ExecutorService is terminated as well + if (shouldManageExecutor()) { + isTerminated = isTerminated && ((ExecutorService) executor).isTerminated(); + } + return isTerminated; } @Override public void shutdownNow() { - shutdown(); + // Calling shutdown/ shutdownNow() twice should no-op + if (isTransportShutdown) { + return; + } + try { + // Only shutdown the executor if it was created by Gax. External executors + // should be managed by the user. + if (shouldManageExecutor()) { + ((ExecutorService) executor).shutdownNow(); + } + deadlineScheduledExecutorService.shutdownNow(); + httpTransport.shutdown(); + isTransportShutdown = true; + } catch (IOException e) { + // TODO: Log this scenario once we implemented the Cloud SDK logging. + // Swallow error if httpTransport shutdown fails + } } @Override public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - // TODO - return false; + long endTimeNanos = System.nanoTime() + unit.toNanos(duration); + long awaitTimeNanos = endTimeNanos - System.nanoTime(); + if (awaitTimeNanos <= 0) { + return false; + } + // Only awaitTermination for the executor if it was created by Gax. External executors + // should be managed by the user. + if (usingDefaultExecutor && executor instanceof ExecutorService) { + boolean terminated = ((ExecutorService) executor).awaitTermination(awaitTimeNanos, unit); + // Termination duration has elapsed + if (!terminated) { + return false; + } + } + awaitTimeNanos = endTimeNanos - System.nanoTime(); + return deadlineScheduledExecutorService.awaitTermination(awaitTimeNanos, unit); + } + + private boolean shouldManageExecutor() { + return usingDefaultExecutor && executor instanceof ExecutorService; } @Override - public void close() {} + public void close() { + shutdown(); + } public static Builder newBuilder() { - return new Builder().setExecutor(DEFAULT_EXECUTOR); + return new Builder(); } public static class Builder { @@ -129,11 +190,14 @@ public static class Builder { private Executor executor; private String endpoint; private HttpTransport httpTransport; + private boolean usingDefaultExecutor; - private Builder() {} + private Builder() { + this.usingDefaultExecutor = false; + } public Builder setExecutor(Executor executor) { - this.executor = executor == null ? DEFAULT_EXECUTOR : executor; + this.executor = executor; return this; } @@ -150,8 +214,20 @@ public Builder setHttpTransport(HttpTransport httpTransport) { public ManagedHttpJsonChannel build() { Preconditions.checkNotNull(endpoint); + // If the executor provided for this channel is null, gax will provide a + // default executor to used for the calls. Only the default executor's + // lifecycle will be managed by the channel. Any external executor needs to + // managed by the user. + if (executor == null) { + executor = InstantiatingExecutorProvider.newIOBuilder().build().getExecutor(); + usingDefaultExecutor = true; + } + return new ManagedHttpJsonChannel( - executor, endpoint, httpTransport == null ? new NetHttpTransport() : httpTransport); + executor, + usingDefaultExecutor, + endpoint, + httpTransport == null ? new NetHttpTransport() : httpTransport); } } } diff --git a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonInterceptorChannel.java b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonInterceptorChannel.java index 05321e2fd7..56ab5a5abb 100644 --- a/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonInterceptorChannel.java +++ b/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonInterceptorChannel.java @@ -30,6 +30,7 @@ package com.google.api.gax.httpjson; import com.google.api.core.BetaApi; +import com.google.common.annotations.VisibleForTesting; import java.util.concurrent.TimeUnit; @BetaApi @@ -45,6 +46,11 @@ class ManagedHttpJsonInterceptorChannel extends ManagedHttpJsonChannel { this.interceptor = interceptor; } + @VisibleForTesting + ManagedHttpJsonChannel getChannel() { + return channel; + } + @Override public HttpJsonClientCall newCall( ApiMethodDescriptor methodDescriptor, HttpJsonCallOptions callOptions) { diff --git a/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProviderTest.java b/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProviderTest.java index 4061ff8bad..416fcfb2da 100644 --- a/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProviderTest.java +++ b/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProviderTest.java @@ -39,6 +39,7 @@ import java.io.IOException; import java.security.GeneralSecurityException; import java.util.Collections; +import java.util.Map; import java.util.concurrent.Executor; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledThreadPoolExecutor; @@ -50,20 +51,22 @@ @RunWith(JUnit4.class) public class InstantiatingHttpJsonChannelProviderTest extends AbstractMtlsTransportChannelTest { + private static final String DEFAULT_ENDPOINT = "localhost:8080"; + private static final Map DEFAULT_HEADER_MAP = Collections.emptyMap(); + @Test public void basicTest() throws IOException { - String endpoint = "localhost:8080"; ScheduledExecutorService executor = new ScheduledThreadPoolExecutor(1); executor.shutdown(); TransportChannelProvider provider = InstantiatingHttpJsonChannelProvider.newBuilder().build(); assertThat(provider.needsEndpoint()).isTrue(); - provider = provider.withEndpoint(endpoint); + provider = provider.withEndpoint(DEFAULT_ENDPOINT); assertThat(provider.needsEndpoint()).isFalse(); assertThat(provider.needsHeaders()).isTrue(); - provider = provider.withHeaders(Collections.emptyMap()); + provider = provider.withHeaders(DEFAULT_HEADER_MAP); assertThat(provider.needsHeaders()).isFalse(); // Make sure getTransportChannel works without setting executor @@ -103,6 +106,57 @@ public void basicTest() throws IOException { provider.getTransportChannel().shutdownNow(); } + // Ensure that a default executor is created by the ManagedHttpJsonChannel even + // if not provided by the TransportChannelProvider + @Test + public void managedChannelUsesDefaultChannelExecutor() throws IOException { + InstantiatingHttpJsonChannelProvider instantiatingHttpJsonChannelProvider = + InstantiatingHttpJsonChannelProvider.newBuilder().setEndpoint(DEFAULT_ENDPOINT).build(); + instantiatingHttpJsonChannelProvider = + (InstantiatingHttpJsonChannelProvider) + instantiatingHttpJsonChannelProvider.withHeaders(DEFAULT_HEADER_MAP); + HttpJsonTransportChannel httpJsonTransportChannel = + instantiatingHttpJsonChannelProvider.getTransportChannel(); + + // By default, the channel will be wrapped with ManagedHttpJsonInterceptorChannel + ManagedHttpJsonInterceptorChannel interceptorChannel = + (ManagedHttpJsonInterceptorChannel) httpJsonTransportChannel.getManagedChannel(); + ManagedHttpJsonChannel managedHttpJsonChannel = interceptorChannel.getChannel(); + assertThat(managedHttpJsonChannel.getExecutor()).isNotNull(); + + // Clean up the resources (executor, deadlineScheduler, httpTransport) + instantiatingHttpJsonChannelProvider.getTransportChannel().shutdownNow(); + } + + // Ensure that the user's executor is used by the ManagedHttpJsonChannel + @Test + public void managedChannelUsesCustomExecutor() throws IOException { + // Custom executor to use -- Lifecycle must be managed by this test + ScheduledExecutorService executor = new ScheduledThreadPoolExecutor(1); + executor.shutdown(); + + InstantiatingHttpJsonChannelProvider instantiatingHttpJsonChannelProvider = + InstantiatingHttpJsonChannelProvider.newBuilder() + .setEndpoint(DEFAULT_ENDPOINT) + .setExecutor(executor) + .build(); + instantiatingHttpJsonChannelProvider = + (InstantiatingHttpJsonChannelProvider) + instantiatingHttpJsonChannelProvider.withHeaders(DEFAULT_HEADER_MAP); + HttpJsonTransportChannel httpJsonTransportChannel = + instantiatingHttpJsonChannelProvider.getTransportChannel(); + + // By default, the channel will be wrapped with ManagedHttpJsonInterceptorChannel + ManagedHttpJsonInterceptorChannel interceptorChannel = + (ManagedHttpJsonInterceptorChannel) httpJsonTransportChannel.getManagedChannel(); + ManagedHttpJsonChannel managedHttpJsonChannel = interceptorChannel.getChannel(); + assertThat(managedHttpJsonChannel.getExecutor()).isNotNull(); + assertThat(managedHttpJsonChannel.getExecutor()).isEqualTo(executor); + + // Clean up the resources (executor, deadlineScheduler, httpTransport) + instantiatingHttpJsonChannelProvider.getTransportChannel().shutdownNow(); + } + @Override protected Object getMtlsObjectFromTransportChannel(MtlsProvider provider) throws IOException, GeneralSecurityException { diff --git a/gax-java/gax/clirr-ignored-differences.xml b/gax-java/gax/clirr-ignored-differences.xml index dcc0be350d..a0516a55d4 100644 --- a/gax-java/gax/clirr-ignored-differences.xml +++ b/gax-java/gax/clirr-ignored-differences.xml @@ -7,4 +7,10 @@ com/google/api/gax/paging/Page * stream*(*) + + 7006 + com/google/api/gax/rpc/ServerStreamingCallSettings$Builder + *setWaitTimeout* + com.google.api.gax.rpc.ServerStreamingCallSettings$Builder + diff --git a/gax-java/gax/pom.xml b/gax-java/gax/pom.xml index 147435e11a..c367afcec5 100644 --- a/gax-java/gax/pom.xml +++ b/gax-java/gax/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gax - 2.28.1 + 2.29.0 jar GAX (Google Api eXtensions) for Java (Core) Google Api eXtensions for Java (Core) @@ -11,7 +11,7 @@ com.google.api gax-parent - 2.28.1 + 2.29.0 @@ -81,6 +81,16 @@ + + org.codehaus.mojo + clirr-maven-plugin + + + + com/google/api/gax/rpc/RequestUrlParamsEncoder + + + \ No newline at end of file diff --git a/gax-java/gax/src/main/java/com/google/api/gax/core/InstantiatingExecutorProvider.java b/gax-java/gax/src/main/java/com/google/api/gax/core/InstantiatingExecutorProvider.java index c91b044cb9..1faee91a4a 100644 --- a/gax-java/gax/src/main/java/com/google/api/gax/core/InstantiatingExecutorProvider.java +++ b/gax-java/gax/src/main/java/com/google/api/gax/core/InstantiatingExecutorProvider.java @@ -54,6 +54,9 @@ public Thread newThread(Runnable runnable) { return thread; } }; + private static final int MIN_THREAD_AMOUNT = 4; + // Attempt to choose a reasonable default core pool multiplier for IO Bound operations + private static final int IO_THREAD_MULTIPLIER = 50; // Package-private constructor prevents others from subclassing. InstantiatingExecutorProvider() {} @@ -76,9 +79,22 @@ public boolean shouldAutoClose() { public abstract Builder toBuilder(); + // Used for CPU Bound tasks as the thread count is at max the number of processors + // Thread count minimum is at least `MIN_CPU_AMOUNT` public static Builder newBuilder() { int numCpus = Runtime.getRuntime().availableProcessors(); - int numThreads = Math.max(4, numCpus); + int numThreads = Math.max(MIN_THREAD_AMOUNT, numCpus); + + return new AutoValue_InstantiatingExecutorProvider.Builder() + .setExecutorThreadCount(numThreads) + .setThreadFactory(DEFAULT_THREAD_FACTORY); + } + + // Used for IO Bound tasks as the thread count scales with the number of processors + // Thread count minimum is at least `MIN_CPU_AMOUNT` * `IO_THREAD_MULTIPLIER` + public static Builder newIOBuilder() { + int numCpus = Runtime.getRuntime().availableProcessors(); + int numThreads = IO_THREAD_MULTIPLIER * Math.max(MIN_THREAD_AMOUNT, numCpus); return new AutoValue_InstantiatingExecutorProvider.Builder() .setExecutorThreadCount(numThreads) diff --git a/gax-java/gax/src/main/java/com/google/api/gax/rpc/RequestParamsBuilder.java b/gax-java/gax/src/main/java/com/google/api/gax/rpc/RequestParamsBuilder.java index 4f234f0ce3..9e3914309c 100644 --- a/gax-java/gax/src/main/java/com/google/api/gax/rpc/RequestParamsBuilder.java +++ b/gax-java/gax/src/main/java/com/google/api/gax/rpc/RequestParamsBuilder.java @@ -40,7 +40,6 @@ */ @BetaApi public class RequestParamsBuilder { - private final ImmutableMap.Builder paramsBuilder; private RequestParamsBuilder() { @@ -63,7 +62,7 @@ public static RequestParamsBuilder create() { * @param pathTemplate {@link PathTemplate} the path template used for match-and-extract */ public void add(String fieldValue, String headerKey, PathTemplate pathTemplate) { - if (fieldValue == null) { + if (checkInvalidHeaderValues(headerKey, fieldValue)) { return; } Map matchedValues = pathTemplate.match(fieldValue); @@ -72,6 +71,25 @@ public void add(String fieldValue, String headerKey, PathTemplate pathTemplate) } } + /** + * Add an entry to paramsBuilder with key-value pairing of (headerKey, fieldValue). The only + * validation done is to ensure the headerKey and fieldValue are not null and non-empty. This + * method is used for implicit routing headers (backwards compatibility). + * + * @param headerKey the header key for the routing header param + * @param fieldValue the field value from a request + */ + public void add(String headerKey, String fieldValue) { + if (checkInvalidHeaderValues(headerKey, fieldValue)) { + return; + } + paramsBuilder.put(headerKey, fieldValue); + } + + private boolean checkInvalidHeaderValues(String headerKey, String fieldValue) { + return headerKey == null || headerKey.isEmpty() || fieldValue == null || fieldValue.isEmpty(); + } + public Map build() { return paramsBuilder.buildKeepingLast(); } diff --git a/gax-java/gax/src/main/java/com/google/api/gax/rpc/RequestUrlParamsEncoder.java b/gax-java/gax/src/main/java/com/google/api/gax/rpc/RequestUrlParamsEncoder.java index 6bb1da2509..a5b50086cf 100644 --- a/gax-java/gax/src/main/java/com/google/api/gax/rpc/RequestUrlParamsEncoder.java +++ b/gax-java/gax/src/main/java/com/google/api/gax/rpc/RequestUrlParamsEncoder.java @@ -31,46 +31,40 @@ import static com.google.common.base.Preconditions.checkNotNull; +import com.google.api.client.util.escape.PercentEscaper; import com.google.api.core.InternalApi; -import java.io.UnsupportedEncodingException; -import java.net.URLDecoder; -import java.net.URLEncoder; import java.util.Map; /** * The request params encoder, which encodes URL-encoded parameters in one URL parameters string. - * This class expects that name-value pairs, returned from parameters extractor are already - * URL-encoded and can perform optional validation of that, but does not encode the name-value pairs - * themselves. * * @param request message type */ @InternalApi("For use by transport-specific implementations") public class RequestUrlParamsEncoder implements RequestParamsEncoder { - private static final String STR_ENCODING = "UTF-8"; - + // Per RFC 3986 Section 2.3, these are the four unreserved characters that don't need to be + // encoded + private static final PercentEscaper PERCENT_ESCAPER = new PercentEscaper("._-~"); private final RequestParamsExtractor paramsExtractor; - private final boolean validateExtractedParameters; /** * Creates the encoder. * * @param paramsExtractor parameters extractor which returns already URL-encoded key-value pairs - * @param validateExtractedParameters {@code true} if this class should validate that the - * extracted parameters are URL-encoded, {@code false} otherwise */ - public RequestUrlParamsEncoder( - RequestParamsExtractor paramsExtractor, boolean validateExtractedParameters) { + public RequestUrlParamsEncoder(RequestParamsExtractor paramsExtractor) { this.paramsExtractor = checkNotNull(paramsExtractor); - this.validateExtractedParameters = validateExtractedParameters; } /** * Encodes the {@code request} in a form of a URL parameters string, for example {@code * "param1=value+1¶m2=value2%26"}. This method may optionally validate that the name-value - * paris are URL-encoded, but it will not perform the actual encoding of them (it will only - * concatenate the valid individual name-value pairs in a valid URL parameters string). This is - * so, because in most practical cases the name-value paris are already URL-encoded. + * paris are URL-encoded. It will URL encode the key and values if there are any non-allowed + * characters. It will then concatenate the valid individual name-value pairs in a valid URL + * parameters string. + * + *

Note: This will url-encode the key and values during concatenation. Double url-encoding may + * occur if the input has values that are already url-encoded. * * @param request request message * @throws IllegalArgumentException if is not @@ -86,37 +80,17 @@ public String encode(RequestT request) { if (sb.length() > 0) { sb.append("&"); } - String name = entry.getKey(); - String value = entry.getValue(); - if (name == null) { - throw new IllegalArgumentException("Request parameter name cannot be null"); - } - - // Let the server decide if the value is required. - // Empty value is allowed. - if (value != null) { - if (!isValid(name, value)) { - throw new IllegalArgumentException( - "Invalid url-encoded request parameter name-value pair: " + name + "=" + value); - } - sb.append(name).append("=").append(value); - } + // RequestParamsExtractor checks that the values are non-null and non-empty + String encodedKey = percentEncodeString(entry.getKey()); + String encodedValue = percentEncodeString(entry.getValue()); + sb.append(encodedKey).append("=").append(encodedValue); } return sb.toString(); } - // Not sure if we need this at all. - private boolean isValid(String name, String value) { - try { - // hoping that encode/decode do not lose information in the middle - // (at least for practical use cases) - return !validateExtractedParameters - || name.equals(URLEncoder.encode(URLDecoder.decode(name, STR_ENCODING), STR_ENCODING)) - && value.equals( - URLEncoder.encode(URLDecoder.decode(value, STR_ENCODING), STR_ENCODING)); - } catch (UnsupportedEncodingException e) { - return false; - } + // Percent encode the value passed in. + private String percentEncodeString(String value) { + return PERCENT_ESCAPER.escape(value); } } diff --git a/gax-java/gax/src/main/java/com/google/api/gax/rpc/ServerStreamingCallSettings.java b/gax-java/gax/src/main/java/com/google/api/gax/rpc/ServerStreamingCallSettings.java index da40b657b7..48e5242b80 100644 --- a/gax-java/gax/src/main/java/com/google/api/gax/rpc/ServerStreamingCallSettings.java +++ b/gax-java/gax/src/main/java/com/google/api/gax/rpc/ServerStreamingCallSettings.java @@ -299,8 +299,9 @@ public Duration getWaitTimeout() { * Set the maximum amount of time to wait for the next message from the server. {@link * Duration#ZERO} disables the check for abandoned streams. */ - public void setWaitTimeout(@Nonnull Duration waitTimeout) { + public Builder setWaitTimeout(@Nonnull Duration waitTimeout) { this.waitTimeout = waitTimeout; + return this; } @Override diff --git a/gax-java/gax/src/main/java/com/google/api/gax/rpc/internal/Headers.java b/gax-java/gax/src/main/java/com/google/api/gax/rpc/internal/Headers.java index ddd6600362..49d4c049ab 100644 --- a/gax-java/gax/src/main/java/com/google/api/gax/rpc/internal/Headers.java +++ b/gax-java/gax/src/main/java/com/google/api/gax/rpc/internal/Headers.java @@ -38,6 +38,8 @@ @InternalApi public class Headers { + public static final String DYNAMIC_ROUTING_HEADER_KEY = "x-goog-request-params"; + public static ImmutableMap> mergeHeaders( Map> oldHeaders, Map> newHeaders) { ImmutableMap.Builder> headersBuilder = ImmutableMap.builder(); diff --git a/gax-java/gax/src/test/java/com/google/api/gax/rpc/RequestParamsBuilderTest.java b/gax-java/gax/src/test/java/com/google/api/gax/rpc/RequestParamsBuilderTest.java index 30f4d7e628..d3a16960fd 100644 --- a/gax-java/gax/src/test/java/com/google/api/gax/rpc/RequestParamsBuilderTest.java +++ b/gax-java/gax/src/test/java/com/google/api/gax/rpc/RequestParamsBuilderTest.java @@ -58,6 +58,29 @@ public void add_happyPath() { assertThat(actual).containsExactly("table_location", "instances/living_room"); } + @Test + public void add_twoParams_happyPath() { + requestParamsBuilder.add("table_location", "instances/living_room"); + Map actual = requestParamsBuilder.build(); + assertThat(actual).containsExactly("table_location", "instances/living_room"); + } + + @Test + public void add_containsNonEncodedHeaderAndValue() { + PathTemplate pathTemplate = PathTemplate.create("projects/**/{table$$_++location=instances/*}"); + requestParamsBuilder.add( + "projects/my_cozy_home/instances/living_room", "table$$_++location", pathTemplate); + Map actual = requestParamsBuilder.build(); + assertThat(actual).containsExactly("table$$_++location", "instances/living_room"); + } + + @Test + public void add_twoParams_containsNonEncodedHeaderAndValue() { + requestParamsBuilder.add("table$$_++location", "instances/living_room"); + Map actual = requestParamsBuilder.build(); + assertThat(actual).containsExactly("table$$_++location", "instances/living_room"); + } + @Test public void build_shouldKeepLastEntryIfMultipleEntriesHaveTheSameKeyRatherThanErrorOut() { requestParamsBuilder.add( @@ -103,6 +126,50 @@ public void add_nullFieldValue() { assertThat(actual).isEmpty(); } + @Test + public void addWithTwoParams_nullFieldValue() { + requestParamsBuilder.add("test", null); + Map actual = requestParamsBuilder.build(); + assertThat(actual).isEmpty(); + } + + @Test + public void add_emptyString_noMatches() { + // protobuf's default value for string is empty string. The `**` pathtemplate would match + // for empty string if it's not explicitly filtered out + Map actual = getRoutingHeaders("{table_location=**}", ""); + assertThat(actual).isEmpty(); + } + + @Test + public void addWithTwoParams_emptyString_noMatches() { + // protobuf's default value for string is empty string. The `**` pathtemplate would match + // for empty string if it's not explicitly filtered out + Map actual = getRoutingHeaders("{table_location=**}", ""); + assertThat(actual).isEmpty(); + } + + @Test + public void add_nullHeader_noMatches() { + requestParamsBuilder.add(null, "projects/does_not_matter"); + Map actual = requestParamsBuilder.build(); + assertThat(actual).isEmpty(); + } + + @Test + public void addWithTwoParams_nullHeader_noMatches() { + requestParamsBuilder.add(null, "hello"); + Map actual = requestParamsBuilder.build(); + assertThat(actual).isEmpty(); + } + + @Test + public void addWithTwoParams_emptyHeader_noMatches() { + requestParamsBuilder.add("", "hello"); + Map actual = requestParamsBuilder.build(); + assertThat(actual).isEmpty(); + } + private Map getRoutingHeaders(String patternString, String fieldValue) { PathTemplate pathTemplate = PathTemplate.create(patternString); requestParamsBuilder.add(fieldValue, "table_location", pathTemplate); diff --git a/gax-java/gax/src/test/java/com/google/api/gax/rpc/RequestUrlParamsEncoderTest.java b/gax-java/gax/src/test/java/com/google/api/gax/rpc/RequestUrlParamsEncoderTest.java index 3239bd148f..a4260305de 100644 --- a/gax-java/gax/src/test/java/com/google/api/gax/rpc/RequestUrlParamsEncoderTest.java +++ b/gax-java/gax/src/test/java/com/google/api/gax/rpc/RequestUrlParamsEncoderTest.java @@ -31,7 +31,6 @@ package com.google.api.gax.rpc; import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; import static org.mockito.Mockito.when; import com.google.common.collect.ImmutableMap; @@ -42,87 +41,50 @@ public class RequestUrlParamsEncoderTest { - @Test - public void testEncodeValidationSuccess() throws Exception { - @SuppressWarnings("unchecked") - RequestParamsExtractor extractor = - getMockExtractor(2, ImmutableMap.of("param1", "value+1", "param2", "value+2+%26")); - - RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor, true); - String encodedParams = encoder.encode(2); + private final String key = "key"; - assertEquals("param1=value+1¶m2=value+2+%26", encodedParams); - } + @Test + public void testEncode() { + RequestParamsExtractor extractor = getMockExtractor(ImmutableMap.of("param", "value")); + RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor); + String encodedParams = encoder.encode(key); - @Test(expected = IllegalArgumentException.class) - public void testEncodeValidationFail() throws Exception { - RequestParamsExtractor extractor = - getMockExtractor(1, ImmutableMap.of("param1", "value+1", "param2", "value+2+&")); - RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor, true); - encoder.encode(1); + assertEquals("param=value", encodedParams); } @Test - public void testEncodeNoValidationSuccess() throws Exception { - RequestParamsExtractor extractor = - getMockExtractor(1, ImmutableMap.of("param1", "value+1", "param2", "value+2+&")); - RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor, false); - String encodedParams = encoder.encode(1); + public void testEncode_multipleEntriesConcatenation() { + RequestParamsExtractor extractor = + getMockExtractor(ImmutableMap.of("param1", "value1", "param2", "value2")); + RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor); + String encodedParams = encoder.encode(key); - assertEquals("param1=value+1¶m2=value+2+&", encodedParams); - } - - @Test(expected = IllegalArgumentException.class) - public void testEncodeNullName() throws Exception { - RequestParamsExtractor extractor = - getMockExtractor(1, Collections.singletonMap((String) null, "value1")); - RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor, false); - encoder.encode(1); + assertEquals("param1=value1¶m2=value2", encodedParams); } @Test - public void testEncodeNullValue() throws Exception { - RequestParamsExtractor extractor = - getMockExtractor(1, Collections.singletonMap("param1", (String) null)); - RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor, false); - String encodedParams = encoder.encode(1); - assertEquals("", encodedParams); - } + public void testEncode_multipleEntriesConcatenation_encodedKeyAndValues() { + RequestParamsExtractor extractor = + getMockExtractor(ImmutableMap.of("param1!@#", "value+1", "param2()", "value+2+&")); + RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor); + String encodedParams = encoder.encode(key); - @Test - public void testEncodeEmptyValue() throws Exception { - RequestParamsExtractor extractor = - getMockExtractor(1, Collections.singletonMap("param1", "")); - RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor, false); - String encodedParams = encoder.encode(1); - assertEquals("param1=", encodedParams); + assertEquals("param1%21%40%23=value%2B1¶m2%28%29=value%2B2%2B%26", encodedParams); } @Test - public void testEncodeNullAndEmptyParams() throws Exception { - RequestParamsExtractor extractor = - getMockExtractor(1, Collections.emptyMap()); - RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor, false); - String encodedParams = encoder.encode(1); + public void testEncodeEmptyMap() { + RequestParamsExtractor extractor = getMockExtractor(Collections.emptyMap()); + RequestUrlParamsEncoder encoder = new RequestUrlParamsEncoder<>(extractor); + String encodedParams = encoder.encode(key); assertEquals("", encodedParams); - - extractor = getMockExtractor(1, null); - encoder = new RequestUrlParamsEncoder<>(extractor, false); - NullPointerException exception = null; - try { - encoder.encode(1); - } catch (NullPointerException e) { - exception = e; - } - assertNotNull(exception); } - private RequestParamsExtractor getMockExtractor( - Integer input, Map output) { + private RequestParamsExtractor getMockExtractor(Map output) { @SuppressWarnings("unchecked") - RequestParamsExtractor extractor = - (RequestParamsExtractor) Mockito.mock(RequestParamsExtractor.class); - when(extractor.extract(input)).thenReturn(output); + RequestParamsExtractor extractor = + (RequestParamsExtractor) Mockito.mock(RequestParamsExtractor.class); + when(extractor.extract(key)).thenReturn(output); return extractor; } } diff --git a/gax-java/pom.xml b/gax-java/pom.xml index 4e9ed7a438..2f7935db33 100644 --- a/gax-java/pom.xml +++ b/gax-java/pom.xml @@ -4,14 +4,14 @@ com.google.api gax-parent pom - 2.28.1 + 2.29.0 GAX (Google Api eXtensions) for Java (Parent) Google Api eXtensions for Java (Parent) com.google.api gapic-generator-java-pom-parent - 2.20.1 + 2.21.0 ../gapic-generator-java-pom-parent @@ -51,7 +51,7 @@ com.google.api api-common - 2.11.1 + 2.12.0 com.google.auth @@ -109,24 +109,24 @@ com.google.api gax - 2.28.1 + 2.29.0 com.google.api gax - 2.28.1 + 2.29.0 test-jar testlib com.google.api.grpc proto-google-common-protos - 2.19.1 + 2.20.0 com.google.api.grpc grpc-google-common-protos - 2.19.1 + 2.20.0 io.grpc diff --git a/java-common-protos/grpc-google-common-protos/pom.xml b/java-common-protos/grpc-google-common-protos/pom.xml index 730659f2f7..32b057a321 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.19.1 + 2.20.0 grpc-google-common-protos GRPC library for grpc-google-common-protos com.google.api.grpc google-common-protos-parent - 2.19.1 + 2.20.0 diff --git a/java-common-protos/pom.xml b/java-common-protos/pom.xml index 9066e05063..9010ea6ebc 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.19.1 + 2.20.0 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.20.1 + 2.21.0 ../gapic-generator-java-pom-parent @@ -34,11 +34,11 @@ sonatype-nexus-snapshots - https://google.google.oss.sonatype.org/content/repositories/snapshots + https://google.oss.sonatype.org/content/repositories/snapshots sonatype-nexus-staging - https://google.google.oss.sonatype.org/service/local/staging/deploy/maven2/ + https://google.oss.sonatype.org/service/local/staging/deploy/maven2/ @@ -69,7 +69,7 @@ com.google.api.grpc grpc-google-common-protos - 2.19.1 + 2.20.0 io.grpc @@ -81,7 +81,7 @@ com.google.api.grpc proto-google-common-protos - 2.19.1 + 2.20.0 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 0ebbe9bfe0..c5ca8e97a5 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.19.1 + 2.20.0 proto-google-common-protos PROTO library for proto-google-common-protos com.google.api.grpc google-common-protos-parent - 2.19.1 + 2.20.0 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 16305c553e..b6660f50a2 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 @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Advice(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_descriptor; } 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 b5e3be7c88..8e667869e9 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 @@ -54,11 +54,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthProvider(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthProvider_descriptor; } @@ -81,6 +76,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *

    * The unique identifier of the auth provider. It will be referred to by
    * `AuthRequirement.provider_id`.
+   *
    * Example: "bookstore_auth".
    * 
* @@ -106,6 +102,7 @@ public java.lang.String getId() { *
    * The unique identifier of the auth provider. It will be referred to by
    * `AuthRequirement.provider_id`.
+   *
    * Example: "bookstore_auth".
    * 
* @@ -137,6 +134,7 @@ public com.google.protobuf.ByteString getIdBytes() { * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -164,6 +162,7 @@ public java.lang.String getIssuer() { * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -203,6 +202,7 @@ public com.google.protobuf.ByteString getIssuerBytes() { * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -236,6 +236,7 @@ public java.lang.String getJwksUri() { * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -276,7 +277,9 @@ public com.google.protobuf.ByteString getJwksUriBytes() { * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -313,7 +316,9 @@ public java.lang.String getAudiences() { * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -399,12 +404,15 @@ public com.google.protobuf.ByteString getAuthorizationUrlBytes() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -426,12 +434,15 @@ public java.util.List getJwtLocationsList() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -454,12 +465,15 @@ public java.util.List getJwtLocationsList() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -481,12 +495,15 @@ public int getJwtLocationsCount() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -508,12 +525,15 @@ public com.google.api.JwtLocation getJwtLocations(int index) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -1038,6 +1058,7 @@ public Builder mergeFrom( *
      * The unique identifier of the auth provider. It will be referred to by
      * `AuthRequirement.provider_id`.
+     *
      * Example: "bookstore_auth".
      * 
* @@ -1062,6 +1083,7 @@ public java.lang.String getId() { *
      * The unique identifier of the auth provider. It will be referred to by
      * `AuthRequirement.provider_id`.
+     *
      * Example: "bookstore_auth".
      * 
* @@ -1086,6 +1108,7 @@ public com.google.protobuf.ByteString getIdBytes() { *
      * The unique identifier of the auth provider. It will be referred to by
      * `AuthRequirement.provider_id`.
+     *
      * Example: "bookstore_auth".
      * 
* @@ -1109,6 +1132,7 @@ public Builder setId(java.lang.String value) { *
      * The unique identifier of the auth provider. It will be referred to by
      * `AuthRequirement.provider_id`.
+     *
      * Example: "bookstore_auth".
      * 
* @@ -1128,6 +1152,7 @@ public Builder clearId() { *
      * The unique identifier of the auth provider. It will be referred to by
      * `AuthRequirement.provider_id`.
+     *
      * Example: "bookstore_auth".
      * 
* @@ -1155,6 +1180,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -1181,6 +1207,7 @@ public java.lang.String getIssuer() { * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -1207,6 +1234,7 @@ public com.google.protobuf.ByteString getIssuerBytes() { * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -1232,6 +1260,7 @@ public Builder setIssuer(java.lang.String value) { * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -1253,6 +1282,7 @@ public Builder clearIssuer() { * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -1288,6 +1318,7 @@ public Builder setIssuerBytes(com.google.protobuf.ByteString value) { * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -1320,6 +1351,7 @@ public java.lang.String getJwksUri() { * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -1352,6 +1384,7 @@ public com.google.protobuf.ByteString getJwksUriBytes() { * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -1383,6 +1416,7 @@ public Builder setJwksUri(java.lang.String value) { * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -1410,6 +1444,7 @@ public Builder clearJwksUri() { * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -1446,7 +1481,9 @@ public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -1482,7 +1519,9 @@ public java.lang.String getAudiences() { * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -1518,7 +1557,9 @@ public com.google.protobuf.ByteString getAudiencesBytes() { * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -1553,7 +1594,9 @@ public Builder setAudiences(java.lang.String value) { * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -1584,7 +1627,9 @@ public Builder clearAudiences() { * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -1739,12 +1784,15 @@ private void ensureJwtLocationsIsMutable() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -1769,12 +1817,15 @@ public java.util.List getJwtLocationsList() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -1799,12 +1850,15 @@ public int getJwtLocationsCount() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -1829,12 +1883,15 @@ public com.google.api.JwtLocation getJwtLocations(int index) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -1865,12 +1922,15 @@ public Builder setJwtLocations(int index, com.google.api.JwtLocation value) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -1898,12 +1958,15 @@ public Builder setJwtLocations(int index, com.google.api.JwtLocation.Builder bui * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -1934,12 +1997,15 @@ public Builder addJwtLocations(com.google.api.JwtLocation value) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -1970,12 +2036,15 @@ public Builder addJwtLocations(int index, com.google.api.JwtLocation value) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2003,12 +2072,15 @@ public Builder addJwtLocations(com.google.api.JwtLocation.Builder builderForValu * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2036,12 +2108,15 @@ public Builder addJwtLocations(int index, com.google.api.JwtLocation.Builder bui * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2070,12 +2145,15 @@ public Builder addAllJwtLocations( * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2103,12 +2181,15 @@ public Builder clearJwtLocations() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2136,12 +2217,15 @@ public Builder removeJwtLocations(int index) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2162,12 +2246,15 @@ public com.google.api.JwtLocation.Builder getJwtLocationsBuilder(int index) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2192,12 +2279,15 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2223,12 +2313,15 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2250,12 +2343,15 @@ public com.google.api.JwtLocation.Builder addJwtLocationsBuilder() { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -2277,12 +2373,15 @@ public com.google.api.JwtLocation.Builder addJwtLocationsBuilder(int index) { * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization 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 87ac693a46..ac0f0426ee 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 @@ -29,6 +29,7 @@ public interface AuthProviderOrBuilder *
    * The unique identifier of the auth provider. It will be referred to by
    * `AuthRequirement.provider_id`.
+   *
    * Example: "bookstore_auth".
    * 
* @@ -43,6 +44,7 @@ public interface AuthProviderOrBuilder *
    * The unique identifier of the auth provider. It will be referred to by
    * `AuthRequirement.provider_id`.
+   *
    * Example: "bookstore_auth".
    * 
* @@ -59,6 +61,7 @@ public interface AuthProviderOrBuilder * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -75,6 +78,7 @@ public interface AuthProviderOrBuilder * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. + * * Example: https://securetoken.google.com * Example: 1234567-compute@developer.gserviceaccount.com * @@ -99,6 +103,7 @@ public interface AuthProviderOrBuilder * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -121,6 +126,7 @@ public interface AuthProviderOrBuilder * of the issuer. * - can be inferred from the email domain of the issuer (e.g. a Google * service account). + * * Example: https://www.googleapis.com/oauth2/v1/certs * * @@ -146,7 +152,9 @@ public interface AuthProviderOrBuilder * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -172,7 +180,9 @@ public interface AuthProviderOrBuilder * - * https://library-example.googleapis.com/google.example.library.v1.LibraryService * - https://library-example.googleapis.com/ + * * Example: + * * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @@ -217,12 +227,15 @@ public interface AuthProviderOrBuilder * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -241,12 +254,15 @@ public interface AuthProviderOrBuilder * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -265,12 +281,15 @@ public interface AuthProviderOrBuilder * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -289,12 +308,15 @@ public interface AuthProviderOrBuilder * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization @@ -313,12 +335,15 @@ public interface AuthProviderOrBuilder * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * * JWT locations can be one of HTTP headers, URL query parameters or * cookies. The rule is that the first match wins. + * * If not specified, default to use following 3 locations: * 1) Authorization: Bearer * 2) x-goog-iap-jwt-assertion * 3) access_token query parameter + * * Default locations can be specified as followings: * jwt_locations: * - header: Authorization 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 1c3418f5f3..4a23308b2f 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 @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthRequirement(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthRequirement_descriptor; } @@ -76,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * [id][google.api.AuthProvider.id] from authentication provider.
+   *
    * Example:
+   *
    *     provider_id: bookstore_auth
    * 
* @@ -101,7 +98,9 @@ public java.lang.String getProviderId() { * *
    * [id][google.api.AuthProvider.id] from authentication provider.
+   *
    * Example:
+   *
    *     provider_id: bookstore_auth
    * 
* @@ -132,6 +131,7 @@ public com.google.protobuf.ByteString getProviderIdBytes() { *
    * NOTE: This will be deprecated soon, once AuthProvider.audiences is
    * implemented and accepted in all the runtime components.
+   *
    * The list of JWT
    * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
    * that are allowed to access. A JWT containing any of these audiences will
@@ -140,7 +140,9 @@ public com.google.protobuf.ByteString getProviderIdBytes() {
    * will be accepted. For example, if no audiences are in the setting,
    * LibraryService API will only accept JWTs with the following audience
    * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+   *
    * Example:
+   *
    *     audiences: bookstore_android.apps.googleusercontent.com,
    *                bookstore_web.apps.googleusercontent.com
    * 
@@ -167,6 +169,7 @@ public java.lang.String getAudiences() { *
    * NOTE: This will be deprecated soon, once AuthProvider.audiences is
    * implemented and accepted in all the runtime components.
+   *
    * The list of JWT
    * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
    * that are allowed to access. A JWT containing any of these audiences will
@@ -175,7 +178,9 @@ public java.lang.String getAudiences() {
    * will be accepted. For example, if no audiences are in the setting,
    * LibraryService API will only accept JWTs with the following audience
    * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+   *
    * Example:
+   *
    *     audiences: bookstore_android.apps.googleusercontent.com,
    *                bookstore_web.apps.googleusercontent.com
    * 
@@ -563,7 +568,9 @@ public Builder mergeFrom( * *
      * [id][google.api.AuthProvider.id] from authentication provider.
+     *
      * Example:
+     *
      *     provider_id: bookstore_auth
      * 
* @@ -587,7 +594,9 @@ public java.lang.String getProviderId() { * *
      * [id][google.api.AuthProvider.id] from authentication provider.
+     *
      * Example:
+     *
      *     provider_id: bookstore_auth
      * 
* @@ -611,7 +620,9 @@ public com.google.protobuf.ByteString getProviderIdBytes() { * *
      * [id][google.api.AuthProvider.id] from authentication provider.
+     *
      * Example:
+     *
      *     provider_id: bookstore_auth
      * 
* @@ -634,7 +645,9 @@ public Builder setProviderId(java.lang.String value) { * *
      * [id][google.api.AuthProvider.id] from authentication provider.
+     *
      * Example:
+     *
      *     provider_id: bookstore_auth
      * 
* @@ -653,7 +666,9 @@ public Builder clearProviderId() { * *
      * [id][google.api.AuthProvider.id] from authentication provider.
+     *
      * Example:
+     *
      *     provider_id: bookstore_auth
      * 
* @@ -680,6 +695,7 @@ public Builder setProviderIdBytes(com.google.protobuf.ByteString value) { *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
+     *
      * The list of JWT
      * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
      * that are allowed to access. A JWT containing any of these audiences will
@@ -688,7 +704,9 @@ public Builder setProviderIdBytes(com.google.protobuf.ByteString value) {
      * will be accepted. For example, if no audiences are in the setting,
      * LibraryService API will only accept JWTs with the following audience
      * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+     *
      * Example:
+     *
      *     audiences: bookstore_android.apps.googleusercontent.com,
      *                bookstore_web.apps.googleusercontent.com
      * 
@@ -714,6 +732,7 @@ public java.lang.String getAudiences() { *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
+     *
      * The list of JWT
      * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
      * that are allowed to access. A JWT containing any of these audiences will
@@ -722,7 +741,9 @@ public java.lang.String getAudiences() {
      * will be accepted. For example, if no audiences are in the setting,
      * LibraryService API will only accept JWTs with the following audience
      * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+     *
      * Example:
+     *
      *     audiences: bookstore_android.apps.googleusercontent.com,
      *                bookstore_web.apps.googleusercontent.com
      * 
@@ -748,6 +769,7 @@ public com.google.protobuf.ByteString getAudiencesBytes() { *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
+     *
      * The list of JWT
      * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
      * that are allowed to access. A JWT containing any of these audiences will
@@ -756,7 +778,9 @@ public com.google.protobuf.ByteString getAudiencesBytes() {
      * will be accepted. For example, if no audiences are in the setting,
      * LibraryService API will only accept JWTs with the following audience
      * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+     *
      * Example:
+     *
      *     audiences: bookstore_android.apps.googleusercontent.com,
      *                bookstore_web.apps.googleusercontent.com
      * 
@@ -781,6 +805,7 @@ public Builder setAudiences(java.lang.String value) { *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
+     *
      * The list of JWT
      * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
      * that are allowed to access. A JWT containing any of these audiences will
@@ -789,7 +814,9 @@ public Builder setAudiences(java.lang.String value) {
      * will be accepted. For example, if no audiences are in the setting,
      * LibraryService API will only accept JWTs with the following audience
      * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+     *
      * Example:
+     *
      *     audiences: bookstore_android.apps.googleusercontent.com,
      *                bookstore_web.apps.googleusercontent.com
      * 
@@ -810,6 +837,7 @@ public Builder clearAudiences() { *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
+     *
      * The list of JWT
      * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
      * that are allowed to access. A JWT containing any of these audiences will
@@ -818,7 +846,9 @@ public Builder clearAudiences() {
      * will be accepted. For example, if no audiences are in the setting,
      * LibraryService API will only accept JWTs with the following audience
      * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+     *
      * Example:
+     *
      *     audiences: bookstore_android.apps.googleusercontent.com,
      *                bookstore_web.apps.googleusercontent.com
      * 
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 da45b4a941..86a8a37c7c 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 @@ -28,7 +28,9 @@ public interface AuthRequirementOrBuilder * *
    * [id][google.api.AuthProvider.id] from authentication provider.
+   *
    * Example:
+   *
    *     provider_id: bookstore_auth
    * 
* @@ -42,7 +44,9 @@ public interface AuthRequirementOrBuilder * *
    * [id][google.api.AuthProvider.id] from authentication provider.
+   *
    * Example:
+   *
    *     provider_id: bookstore_auth
    * 
* @@ -58,6 +62,7 @@ public interface AuthRequirementOrBuilder *
    * NOTE: This will be deprecated soon, once AuthProvider.audiences is
    * implemented and accepted in all the runtime components.
+   *
    * The list of JWT
    * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
    * that are allowed to access. A JWT containing any of these audiences will
@@ -66,7 +71,9 @@ public interface AuthRequirementOrBuilder
    * will be accepted. For example, if no audiences are in the setting,
    * LibraryService API will only accept JWTs with the following audience
    * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+   *
    * Example:
+   *
    *     audiences: bookstore_android.apps.googleusercontent.com,
    *                bookstore_web.apps.googleusercontent.com
    * 
@@ -82,6 +89,7 @@ public interface AuthRequirementOrBuilder *
    * NOTE: This will be deprecated soon, once AuthProvider.audiences is
    * implemented and accepted in all the runtime components.
+   *
    * The list of JWT
    * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
    * that are allowed to access. A JWT containing any of these audiences will
@@ -90,7 +98,9 @@ public interface AuthRequirementOrBuilder
    * will be accepted. For example, if no audiences are in the setting,
    * LibraryService API will only accept JWTs with the following audience
    * "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+   *
    * Example:
+   *
    *     audiences: bookstore_android.apps.googleusercontent.com,
    *                bookstore_web.apps.googleusercontent.com
    * 
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 cc415379a2..eecc174580 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 @@ -24,7 +24,9 @@ *
  * `Authentication` defines the authentication configuration for API methods
  * provided by an API service.
+ *
  * Example:
+ *
  *     name: calendar.googleapis.com
  *     authentication:
  *       providers:
@@ -63,11 +65,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Authentication();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.AuthProto.internal_static_google_api_Authentication_descriptor;
   }
@@ -89,6 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -103,6 +101,7 @@ public java.util.List getRulesList() { * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -118,6 +117,7 @@ public java.util.List getRulesList() { * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -132,6 +132,7 @@ public int getRulesCount() { * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -146,6 +147,7 @@ public com.google.api.AuthenticationRule getRules(int index) { * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -403,7 +405,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * `Authentication` defines the authentication configuration for API methods
    * provided by an API service.
+   *
    * Example:
+   *
    *     name: calendar.googleapis.com
    *     authentication:
    *       providers:
@@ -710,6 +714,7 @@ private void ensureRulesIsMutable() {
      *
      * 
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -727,6 +732,7 @@ public java.util.List getRulesList() { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -744,6 +750,7 @@ public int getRulesCount() { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -761,6 +768,7 @@ public com.google.api.AuthenticationRule getRules(int index) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -784,6 +792,7 @@ public Builder setRules(int index, com.google.api.AuthenticationRule value) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -804,6 +813,7 @@ public Builder setRules(int index, com.google.api.AuthenticationRule.Builder bui * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -827,6 +837,7 @@ public Builder addRules(com.google.api.AuthenticationRule value) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -850,6 +861,7 @@ public Builder addRules(int index, com.google.api.AuthenticationRule value) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -870,6 +882,7 @@ public Builder addRules(com.google.api.AuthenticationRule.Builder builderForValu * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -890,6 +903,7 @@ public Builder addRules(int index, com.google.api.AuthenticationRule.Builder bui * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -911,6 +925,7 @@ public Builder addAllRules( * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -931,6 +946,7 @@ public Builder clearRules() { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -951,6 +967,7 @@ public Builder removeRules(int index) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -964,6 +981,7 @@ public com.google.api.AuthenticationRule.Builder getRulesBuilder(int index) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -981,6 +999,7 @@ public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -999,6 +1018,7 @@ public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1013,6 +1033,7 @@ public com.google.api.AuthenticationRule.Builder addRulesBuilder() { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1027,6 +1048,7 @@ public com.google.api.AuthenticationRule.Builder addRulesBuilder(int index) { * *
      * A list of authentication rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* 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 d7dd35ee0e..148735aae4 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 @@ -28,6 +28,7 @@ public interface AuthenticationOrBuilder * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -39,6 +40,7 @@ public interface AuthenticationOrBuilder * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -50,6 +52,7 @@ public interface AuthenticationOrBuilder * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -61,6 +64,7 @@ public interface AuthenticationOrBuilder * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -72,6 +76,7 @@ public interface AuthenticationOrBuilder * *
    * A list of authentication rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* 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 15ab9eb377..adbd6d1c9e 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 @@ -23,10 +23,12 @@ * *
  * Authentication rules for the service.
+ *
  * By default, if a method has any authentication requirements, every request
  * must include a valid credential matching one of the requirements.
  * It's an error to include more than one kind of credential in a single
  * request.
+ *
  * If a method doesn't have any auth requirements, request credentials will be
  * ignored.
  * 
@@ -54,11 +56,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthenticationRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthenticationRule_descriptor; } @@ -81,6 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -106,6 +104,7 @@ public java.lang.String getSelector() { * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -459,10 +458,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Authentication rules for the service.
+   *
    * By default, if a method has any authentication requirements, every request
    * must include a valid credential matching one of the requirements.
    * It's an error to include more than one kind of credential in a single
    * request.
+   *
    * If a method doesn't have any auth requirements, request credentials will be
    * ignored.
    * 
@@ -734,6 +735,7 @@ public Builder mergeFrom( * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -758,6 +760,7 @@ public java.lang.String getSelector() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -782,6 +785,7 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -805,6 +809,7 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -824,6 +829,7 @@ public Builder clearSelector() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
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 ca38fc60e7..fdcffb5e88 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 @@ -28,6 +28,7 @@ public interface AuthenticationRuleOrBuilder * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -42,6 +43,7 @@ public interface AuthenticationRuleOrBuilder * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
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 316b08163d..597e6c6646 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 @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Backend(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_Backend_descriptor; } @@ -73,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -87,6 +83,7 @@ public java.util.List getRulesList() { * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -101,6 +98,7 @@ public java.util.List getRulesOrB * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -115,6 +113,7 @@ public int getRulesCount() { * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -129,6 +128,7 @@ public com.google.api.BackendRule getRules(int index) { * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -539,6 +539,7 @@ private void ensureRulesIsMutable() { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -556,6 +557,7 @@ public java.util.List getRulesList() { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -573,6 +575,7 @@ public int getRulesCount() { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -590,6 +593,7 @@ public com.google.api.BackendRule getRules(int index) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -613,6 +617,7 @@ public Builder setRules(int index, com.google.api.BackendRule value) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -633,6 +638,7 @@ public Builder setRules(int index, com.google.api.BackendRule.Builder builderFor * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -656,6 +662,7 @@ public Builder addRules(com.google.api.BackendRule value) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -679,6 +686,7 @@ public Builder addRules(int index, com.google.api.BackendRule value) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -699,6 +707,7 @@ public Builder addRules(com.google.api.BackendRule.Builder builderForValue) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -719,6 +728,7 @@ public Builder addRules(int index, com.google.api.BackendRule.Builder builderFor * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -739,6 +749,7 @@ public Builder addAllRules(java.lang.Iterable * A list of API backend rules that apply to individual API methods. + * * **NOTE:** All service configuration rules follow "last one wins" order. *
* @@ -759,6 +770,7 @@ public Builder clearRules() { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -779,6 +791,7 @@ public Builder removeRules(int index) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -792,6 +805,7 @@ public com.google.api.BackendRule.Builder getRulesBuilder(int index) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -809,6 +823,7 @@ public com.google.api.BackendRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -826,6 +841,7 @@ public java.util.List getRulesOrB * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -839,6 +855,7 @@ public com.google.api.BackendRule.Builder addRulesBuilder() { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -853,6 +870,7 @@ public com.google.api.BackendRule.Builder addRulesBuilder(int index) { * *
      * A list of API backend rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* 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 807191b594..9649071c93 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 @@ -28,6 +28,7 @@ public interface BackendOrBuilder * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -39,6 +40,7 @@ public interface BackendOrBuilder * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -50,6 +52,7 @@ public interface BackendOrBuilder * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -61,6 +64,7 @@ public interface BackendOrBuilder * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -72,6 +76,7 @@ public interface BackendOrBuilder * *
    * A list of API backend rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* 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 8eb90a0d77..625569117e 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 @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackendRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_descriptor; } @@ -85,6 +80,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * Path Translation specifies how to combine the backend address with the * request path in order to produce the appropriate forwarding URL for the * request. + * * Path Translation is applicable only to HTTP-based backends. Backends which * do not accept requests over HTTP/HTTPS should leave `path_translation` * unspecified. @@ -104,15 +100,21 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum { * appended to the query string. If a query string parameter and a URL * pattern variable have the same name, this may result in duplicate keys in * the query string. + * * # Examples + * * Given the following operation config: + * * Method path: /api/company/{cid}/user/{uid} * Backend address: https://example.cloudfunctions.net/getUser + * * Requests to the following request paths will call the backend at the * translated path: + * * Request path: /api/company/widgetworks/user/johndoe * Translated: * https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe + * * Request path: /api/company/widgetworks/user/johndoe?timezone=EST * Translated: * https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe @@ -126,15 +128,21 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum { * *
      * The request path will be appended to the backend address.
+     *
      * # Examples
+     *
      * Given the following operation config:
+     *
      *     Method path:        /api/company/{cid}/user/{uid}
      *     Backend address:    https://example.appspot.com
+     *
      * Requests to the following request paths will call the backend at the
      * translated path:
+     *
      *     Request path: /api/company/widgetworks/user/johndoe
      *     Translated:
      *     https://example.appspot.com/api/company/widgetworks/user/johndoe
+     *
      *     Request path: /api/company/widgetworks/user/johndoe?timezone=EST
      *     Translated:
      *     https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST
@@ -157,15 +165,21 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum {
      * appended to the query string. If a query string parameter and a URL
      * pattern variable have the same name, this may result in duplicate keys in
      * the query string.
+     *
      * # Examples
+     *
      * Given the following operation config:
+     *
      *     Method path:        /api/company/{cid}/user/{uid}
      *     Backend address:    https://example.cloudfunctions.net/getUser
+     *
      * Requests to the following request paths will call the backend at the
      * translated path:
+     *
      *     Request path: /api/company/widgetworks/user/johndoe
      *     Translated:
      *     https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe
+     *
      *     Request path: /api/company/widgetworks/user/johndoe?timezone=EST
      *     Translated:
      *     https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe
@@ -179,15 +193,21 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum {
      *
      * 
      * The request path will be appended to the backend address.
+     *
      * # Examples
+     *
      * Given the following operation config:
+     *
      *     Method path:        /api/company/{cid}/user/{uid}
      *     Backend address:    https://example.appspot.com
+     *
      * Requests to the following request paths will call the backend at the
      * translated path:
+     *
      *     Request path: /api/company/widgetworks/user/johndoe
      *     Translated:
      *     https://example.appspot.com/api/company/widgetworks/user/johndoe
+     *
      *     Request path: /api/company/widgetworks/user/johndoe?timezone=EST
      *     Translated:
      *     https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST
@@ -283,6 +303,8 @@ private PathTranslation(int value) {
   }
 
   private int authenticationCase_ = 0;
+
+  @SuppressWarnings("serial")
   private java.lang.Object authentication_;
 
   public enum AuthenticationCase
@@ -338,6 +360,7 @@ public AuthenticationCase getAuthenticationCase() {
    *
    * 
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -363,6 +386,7 @@ public java.lang.String getSelector() { * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -393,18 +417,23 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
    * The address of the API backend.
+   *
    * The scheme is used to determine the backend protocol and security.
    * The following schemes are accepted:
+   *
    *    SCHEME        PROTOCOL    SECURITY
    *    http://       HTTP        None
    *    https://      HTTP        TLS
    *    grpc://       gRPC        None
    *    grpcs://      gRPC        TLS
+   *
    * It is recommended to explicitly include a scheme. Leaving out the scheme
    * may cause constrasting behaviors across platforms.
+   *
    * If the port is unspecified, the default is:
    * - 80 for schemes without TLS
    * - 443 for schemes with TLS
+   *
    * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
    * to specify the protocol version.
    * 
@@ -430,18 +459,23 @@ public java.lang.String getAddress() { * *
    * The address of the API backend.
+   *
    * The scheme is used to determine the backend protocol and security.
    * The following schemes are accepted:
+   *
    *    SCHEME        PROTOCOL    SECURITY
    *    http://       HTTP        None
    *    https://      HTTP        TLS
    *    grpc://       gRPC        None
    *    grpcs://      gRPC        TLS
+   *
    * It is recommended to explicitly include a scheme. Leaving out the scheme
    * may cause constrasting behaviors across platforms.
+   *
    * If the port is unspecified, the default is:
    * - 80 for schemes without TLS
    * - 443 for schemes with TLS
+   *
    * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
    * to specify the protocol version.
    * 
@@ -672,17 +706,22 @@ public boolean getDisableAuth() { *
    * The protocol used for sending a request to the backend.
    * The supported values are "http/1.1" and "h2".
+   *
    * The default value is inferred from the scheme in the
    * [address][google.api.BackendRule.address] field:
+   *
    *    SCHEME        PROTOCOL
    *    http://       http/1.1
    *    https://      http/1.1
    *    grpc://       h2
    *    grpcs://      h2
+   *
    * For secure HTTP backends (https://) that support HTTP/2, set this field
    * to "h2" for improved performance.
+   *
    * Configuring this field to non-default values is only supported for secure
    * HTTP backends. This field will be ignored for all other backends.
+   *
    * See
    * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
    * for more details on the supported values.
@@ -710,17 +749,22 @@ public java.lang.String getProtocol() {
    * 
    * The protocol used for sending a request to the backend.
    * The supported values are "http/1.1" and "h2".
+   *
    * The default value is inferred from the scheme in the
    * [address][google.api.BackendRule.address] field:
+   *
    *    SCHEME        PROTOCOL
    *    http://       http/1.1
    *    https://      http/1.1
    *    grpc://       h2
    *    grpcs://      h2
+   *
    * For secure HTTP backends (https://) that support HTTP/2, set this field
    * to "h2" for improved performance.
+   *
    * Configuring this field to non-default values is only supported for secure
    * HTTP backends. This field will be ignored for all other backends.
+   *
    * See
    * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
    * for more details on the supported values.
@@ -1502,6 +1546,7 @@ public Builder clearAuthentication() {
      *
      * 
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1526,6 +1571,7 @@ public java.lang.String getSelector() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1550,6 +1596,7 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1573,6 +1620,7 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1592,6 +1640,7 @@ public Builder clearSelector() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1618,18 +1667,23 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { * *
      * The address of the API backend.
+     *
      * The scheme is used to determine the backend protocol and security.
      * The following schemes are accepted:
+     *
      *    SCHEME        PROTOCOL    SECURITY
      *    http://       HTTP        None
      *    https://      HTTP        TLS
      *    grpc://       gRPC        None
      *    grpcs://      gRPC        TLS
+     *
      * It is recommended to explicitly include a scheme. Leaving out the scheme
      * may cause constrasting behaviors across platforms.
+     *
      * If the port is unspecified, the default is:
      * - 80 for schemes without TLS
      * - 443 for schemes with TLS
+     *
      * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
      * to specify the protocol version.
      * 
@@ -1654,18 +1708,23 @@ public java.lang.String getAddress() { * *
      * The address of the API backend.
+     *
      * The scheme is used to determine the backend protocol and security.
      * The following schemes are accepted:
+     *
      *    SCHEME        PROTOCOL    SECURITY
      *    http://       HTTP        None
      *    https://      HTTP        TLS
      *    grpc://       gRPC        None
      *    grpcs://      gRPC        TLS
+     *
      * It is recommended to explicitly include a scheme. Leaving out the scheme
      * may cause constrasting behaviors across platforms.
+     *
      * If the port is unspecified, the default is:
      * - 80 for schemes without TLS
      * - 443 for schemes with TLS
+     *
      * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
      * to specify the protocol version.
      * 
@@ -1690,18 +1749,23 @@ public com.google.protobuf.ByteString getAddressBytes() { * *
      * The address of the API backend.
+     *
      * The scheme is used to determine the backend protocol and security.
      * The following schemes are accepted:
+     *
      *    SCHEME        PROTOCOL    SECURITY
      *    http://       HTTP        None
      *    https://      HTTP        TLS
      *    grpc://       gRPC        None
      *    grpcs://      gRPC        TLS
+     *
      * It is recommended to explicitly include a scheme. Leaving out the scheme
      * may cause constrasting behaviors across platforms.
+     *
      * If the port is unspecified, the default is:
      * - 80 for schemes without TLS
      * - 443 for schemes with TLS
+     *
      * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
      * to specify the protocol version.
      * 
@@ -1725,18 +1789,23 @@ public Builder setAddress(java.lang.String value) { * *
      * The address of the API backend.
+     *
      * The scheme is used to determine the backend protocol and security.
      * The following schemes are accepted:
+     *
      *    SCHEME        PROTOCOL    SECURITY
      *    http://       HTTP        None
      *    https://      HTTP        TLS
      *    grpc://       gRPC        None
      *    grpcs://      gRPC        TLS
+     *
      * It is recommended to explicitly include a scheme. Leaving out the scheme
      * may cause constrasting behaviors across platforms.
+     *
      * If the port is unspecified, the default is:
      * - 80 for schemes without TLS
      * - 443 for schemes with TLS
+     *
      * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
      * to specify the protocol version.
      * 
@@ -1756,18 +1825,23 @@ public Builder clearAddress() { * *
      * The address of the API backend.
+     *
      * The scheme is used to determine the backend protocol and security.
      * The following schemes are accepted:
+     *
      *    SCHEME        PROTOCOL    SECURITY
      *    http://       HTTP        None
      *    https://      HTTP        TLS
      *    grpc://       gRPC        None
      *    grpcs://      gRPC        TLS
+     *
      * It is recommended to explicitly include a scheme. Leaving out the scheme
      * may cause constrasting behaviors across platforms.
+     *
      * If the port is unspecified, the default is:
      * - 80 for schemes without TLS
      * - 443 for schemes with TLS
+     *
      * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
      * to specify the protocol version.
      * 
@@ -2257,17 +2331,22 @@ public Builder clearDisableAuth() { *
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
+     *
      * The default value is inferred from the scheme in the
      * [address][google.api.BackendRule.address] field:
+     *
      *    SCHEME        PROTOCOL
      *    http://       http/1.1
      *    https://      http/1.1
      *    grpc://       h2
      *    grpcs://      h2
+     *
      * For secure HTTP backends (https://) that support HTTP/2, set this field
      * to "h2" for improved performance.
+     *
      * Configuring this field to non-default values is only supported for secure
      * HTTP backends. This field will be ignored for all other backends.
+     *
      * See
      * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
      * for more details on the supported values.
@@ -2294,17 +2373,22 @@ public java.lang.String getProtocol() {
      * 
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
+     *
      * The default value is inferred from the scheme in the
      * [address][google.api.BackendRule.address] field:
+     *
      *    SCHEME        PROTOCOL
      *    http://       http/1.1
      *    https://      http/1.1
      *    grpc://       h2
      *    grpcs://      h2
+     *
      * For secure HTTP backends (https://) that support HTTP/2, set this field
      * to "h2" for improved performance.
+     *
      * Configuring this field to non-default values is only supported for secure
      * HTTP backends. This field will be ignored for all other backends.
+     *
      * See
      * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
      * for more details on the supported values.
@@ -2331,17 +2415,22 @@ public com.google.protobuf.ByteString getProtocolBytes() {
      * 
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
+     *
      * The default value is inferred from the scheme in the
      * [address][google.api.BackendRule.address] field:
+     *
      *    SCHEME        PROTOCOL
      *    http://       http/1.1
      *    https://      http/1.1
      *    grpc://       h2
      *    grpcs://      h2
+     *
      * For secure HTTP backends (https://) that support HTTP/2, set this field
      * to "h2" for improved performance.
+     *
      * Configuring this field to non-default values is only supported for secure
      * HTTP backends. This field will be ignored for all other backends.
+     *
      * See
      * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
      * for more details on the supported values.
@@ -2367,17 +2456,22 @@ public Builder setProtocol(java.lang.String value) {
      * 
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
+     *
      * The default value is inferred from the scheme in the
      * [address][google.api.BackendRule.address] field:
+     *
      *    SCHEME        PROTOCOL
      *    http://       http/1.1
      *    https://      http/1.1
      *    grpc://       h2
      *    grpcs://      h2
+     *
      * For secure HTTP backends (https://) that support HTTP/2, set this field
      * to "h2" for improved performance.
+     *
      * Configuring this field to non-default values is only supported for secure
      * HTTP backends. This field will be ignored for all other backends.
+     *
      * See
      * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
      * for more details on the supported values.
@@ -2399,17 +2493,22 @@ public Builder clearProtocol() {
      * 
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
+     *
      * The default value is inferred from the scheme in the
      * [address][google.api.BackendRule.address] field:
+     *
      *    SCHEME        PROTOCOL
      *    http://       http/1.1
      *    https://      http/1.1
      *    grpc://       h2
      *    grpcs://      h2
+     *
      * For secure HTTP backends (https://) that support HTTP/2, set this field
      * to "h2" for improved performance.
+     *
      * Configuring this field to non-default values is only supported for secure
      * HTTP backends. This field will be ignored for all other backends.
+     *
      * See
      * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
      * for more details on the supported values.
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 e4d76647a7..e1cc5b2630 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
@@ -28,6 +28,7 @@ public interface BackendRuleOrBuilder
    *
    * 
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -42,6 +43,7 @@ public interface BackendRuleOrBuilder * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -57,18 +59,23 @@ public interface BackendRuleOrBuilder * *
    * The address of the API backend.
+   *
    * The scheme is used to determine the backend protocol and security.
    * The following schemes are accepted:
+   *
    *    SCHEME        PROTOCOL    SECURITY
    *    http://       HTTP        None
    *    https://      HTTP        TLS
    *    grpc://       gRPC        None
    *    grpcs://      gRPC        TLS
+   *
    * It is recommended to explicitly include a scheme. Leaving out the scheme
    * may cause constrasting behaviors across platforms.
+   *
    * If the port is unspecified, the default is:
    * - 80 for schemes without TLS
    * - 443 for schemes with TLS
+   *
    * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
    * to specify the protocol version.
    * 
@@ -83,18 +90,23 @@ public interface BackendRuleOrBuilder * *
    * The address of the API backend.
+   *
    * The scheme is used to determine the backend protocol and security.
    * The following schemes are accepted:
+   *
    *    SCHEME        PROTOCOL    SECURITY
    *    http://       HTTP        None
    *    https://      HTTP        TLS
    *    grpc://       gRPC        None
    *    grpcs://      gRPC        TLS
+   *
    * It is recommended to explicitly include a scheme. Leaving out the scheme
    * may cause constrasting behaviors across platforms.
+   *
    * If the port is unspecified, the default is:
    * - 80 for schemes without TLS
    * - 443 for schemes with TLS
+   *
    * For HTTP backends, use [protocol][google.api.BackendRule.protocol]
    * to specify the protocol version.
    * 
@@ -242,17 +254,22 @@ public interface BackendRuleOrBuilder *
    * The protocol used for sending a request to the backend.
    * The supported values are "http/1.1" and "h2".
+   *
    * The default value is inferred from the scheme in the
    * [address][google.api.BackendRule.address] field:
+   *
    *    SCHEME        PROTOCOL
    *    http://       http/1.1
    *    https://      http/1.1
    *    grpc://       h2
    *    grpcs://      h2
+   *
    * For secure HTTP backends (https://) that support HTTP/2, set this field
    * to "h2" for improved performance.
+   *
    * Configuring this field to non-default values is only supported for secure
    * HTTP backends. This field will be ignored for all other backends.
+   *
    * See
    * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
    * for more details on the supported values.
@@ -269,17 +286,22 @@ public interface BackendRuleOrBuilder
    * 
    * The protocol used for sending a request to the backend.
    * The supported values are "http/1.1" and "h2".
+   *
    * The default value is inferred from the scheme in the
    * [address][google.api.BackendRule.address] field:
+   *
    *    SCHEME        PROTOCOL
    *    http://       http/1.1
    *    https://      http/1.1
    *    grpc://       h2
    *    grpcs://      h2
+   *
    * For secure HTTP backends (https://) that support HTTP/2, set this field
    * to "h2" for improved performance.
+   *
    * Configuring this field to non-default values is only supported for secure
    * HTTP backends. This field will be ignored for all other backends.
+   *
    * See
    * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
    * for more details on the supported values.
@@ -349,5 +371,5 @@ com.google.api.BackendRule getOverridesByRequestProtocolOrDefault(
    */
   com.google.api.BackendRule getOverridesByRequestProtocolOrThrow(java.lang.String key);
 
-  public com.google.api.BackendRule.AuthenticationCase getAuthenticationCase();
+  com.google.api.BackendRule.AuthenticationCase getAuthenticationCase();
 }
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 081f409851..b349f9bde7 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
@@ -23,12 +23,15 @@
  *
  * 
  * Billing related configuration of the service.
+ *
  * The following example shows how to configure monitored resources and metrics
  * for billing, `consumer_destinations` is the only supported destination and
  * the monitored resources need at least one label key
  * `cloud.googleapis.com/location` to indicate the location of the billing
  * usage, using different monitored resources between monitoring and billing is
  * recommended so they can be evolved independently:
+ *
+ *
  *     monitored_resources:
  *     - type: library.googleapis.com/billing_branch
  *       labels:
@@ -75,11 +78,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Billing();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.BillingProto.internal_static_google_api_Billing_descriptor;
   }
@@ -207,7 +205,7 @@ private BillingDestination(com.google.protobuf.GeneratedMessageV3.Builder bui
 
     private BillingDestination() {
       monitoredResource_ = "";
-      metrics_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
@@ -216,11 +214,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new BillingDestination();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-      return this.unknownFields;
-    }
-
     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.BillingProto
           .internal_static_google_api_Billing_BillingDestination_descriptor;
@@ -294,7 +287,8 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() {
     public static final int METRICS_FIELD_NUMBER = 2;
 
     @SuppressWarnings("serial")
-    private com.google.protobuf.LazyStringList metrics_;
+    private com.google.protobuf.LazyStringArrayList metrics_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     /**
      *
      *
@@ -580,8 +574,7 @@ public Builder clear() {
         super.clear();
         bitField0_ = 0;
         monitoredResource_ = "";
-        metrics_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
+        metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
@@ -609,7 +602,6 @@ public com.google.api.Billing.BillingDestination build() {
       public com.google.api.Billing.BillingDestination buildPartial() {
         com.google.api.Billing.BillingDestination result =
             new com.google.api.Billing.BillingDestination(this);
-        buildPartialRepeatedFields(result);
         if (bitField0_ != 0) {
           buildPartial0(result);
         }
@@ -617,19 +609,15 @@ public com.google.api.Billing.BillingDestination buildPartial() {
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.api.Billing.BillingDestination result) {
-        if (((bitField0_ & 0x00000002) != 0)) {
-          metrics_ = metrics_.getUnmodifiableView();
-          bitField0_ = (bitField0_ & ~0x00000002);
-        }
-        result.metrics_ = metrics_;
-      }
-
       private void buildPartial0(com.google.api.Billing.BillingDestination result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.monitoredResource_ = monitoredResource_;
         }
+        if (((from_bitField0_ & 0x00000002) != 0)) {
+          metrics_.makeImmutable();
+          result.metrics_ = metrics_;
+        }
       }
 
       @java.lang.Override
@@ -687,7 +675,7 @@ public Builder mergeFrom(com.google.api.Billing.BillingDestination other) {
         if (!other.metrics_.isEmpty()) {
           if (metrics_.isEmpty()) {
             metrics_ = other.metrics_;
-            bitField0_ = (bitField0_ & ~0x00000002);
+            bitField0_ |= 0x00000002;
           } else {
             ensureMetricsIsMutable();
             metrics_.addAll(other.metrics_);
@@ -868,14 +856,14 @@ public Builder setMonitoredResourceBytes(com.google.protobuf.ByteString value) {
         return this;
       }
 
-      private com.google.protobuf.LazyStringList metrics_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringArrayList metrics_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
 
       private void ensureMetricsIsMutable() {
-        if (!((bitField0_ & 0x00000002) != 0)) {
+        if (!metrics_.isModifiable()) {
           metrics_ = new com.google.protobuf.LazyStringArrayList(metrics_);
-          bitField0_ |= 0x00000002;
         }
+        bitField0_ |= 0x00000002;
       }
       /**
        *
@@ -891,7 +879,8 @@ private void ensureMetricsIsMutable() {
        * @return A list containing the metrics.
        */
       public com.google.protobuf.ProtocolStringList getMetricsList() {
-        return metrics_.getUnmodifiableView();
+        metrics_.makeImmutable();
+        return metrics_;
       }
       /**
        *
@@ -964,6 +953,7 @@ public Builder setMetrics(int index, java.lang.String value) {
         }
         ensureMetricsIsMutable();
         metrics_.set(index, value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -987,6 +977,7 @@ public Builder addMetrics(java.lang.String value) {
         }
         ensureMetricsIsMutable();
         metrics_.add(value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1007,6 +998,7 @@ public Builder addMetrics(java.lang.String value) {
       public Builder addAllMetrics(java.lang.Iterable values) {
         ensureMetricsIsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1024,8 +1016,9 @@ public Builder addAllMetrics(java.lang.Iterable values) {
        * @return This builder for chaining.
        */
       public Builder clearMetrics() {
-        metrics_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
         bitField0_ = (bitField0_ & ~0x00000002);
+        ;
         onChanged();
         return this;
       }
@@ -1050,6 +1043,7 @@ public Builder addMetricsBytes(com.google.protobuf.ByteString value) {
         checkByteStringIsUtf8(value);
         ensureMetricsIsMutable();
         metrics_.add(value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1370,12 +1364,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * Billing related configuration of the service.
+   *
    * The following example shows how to configure monitored resources and metrics
    * for billing, `consumer_destinations` is the only supported destination and
    * the monitored resources need at least one label key
    * `cloud.googleapis.com/location` to indicate the location of the billing
    * usage, using different monitored resources between monitoring and billing is
    * recommended so they can be evolved independently:
+   *
+   *
    *     monitored_resources:
    *     - type: library.googleapis.com/billing_branch
    *       labels:
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 22e1d6a886..d2a4d3105a 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
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClientLibrarySettings();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ClientProto.internal_static_google_api_ClientLibrarySettings_descriptor;
   }
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 1a5e87bc39..8bdd110ef1 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
@@ -37,23 +37,31 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
    *
    * 
    * A definition of a client library method signature.
+   *
    * In client libraries, each proto RPC corresponds to one or more methods
    * which the end user is able to call, and calls the underlying RPC.
    * Normally, this method receives a single argument (a struct or instance
    * corresponding to the RPC request object). Defining this field will
    * add one or more overloads providing flattened or simpler method signatures
    * in some languages.
+   *
    * The fields on the method signature are provided as a comma-separated
    * string.
+   *
    * For example, the proto RPC and annotation:
+   *
    *   rpc CreateSubscription(CreateSubscriptionRequest)
    *       returns (Subscription) {
    *     option (google.api.method_signature) = "name,topic";
    *   }
+   *
    * Would add the following Java overload (in addition to the method accepting
    * the request object):
+   *
    *   public final Subscription createSubscription(String name, String topic)
+   *
    * The following backwards-compatibility guidelines apply:
+   *
    *   * Adding this annotation to an unannotated method is backwards
    *     compatible.
    *   * Adding this annotation to a method which already has existing
@@ -80,7 +88,9 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
    * 
    * The hostname for this service.
    * This should be specified with no prefix or protocol.
+   *
    * Example:
+   *
    *   service Foo {
    *     option (google.api.default_host) = "foo.googleapi.com";
    *     ...
@@ -101,14 +111,19 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
    *
    * 
    * OAuth scopes needed for the client.
+   *
    * Example:
+   *
    *   service Foo {
    *     option (google.api.oauth_scopes) = \
    *       "https://www.googleapis.com/auth/cloud-platform";
    *     ...
    *   }
+   *
    * If there is more than one scope, use a comma-separated string:
+   *
    * Example:
+   *
    *   service Foo {
    *     option (google.api.oauth_scopes) = \
    *       "https://www.googleapis.com/auth/cloud-platform,"
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 cd775f9434..03c8121546 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
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CommonLanguageSettings();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ClientProto.internal_static_google_api_CommonLanguageSettings_descriptor;
   }
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 2d38026dd4..df71d42187 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
@@ -24,6 +24,7 @@
  * 
  * Output generated from semantically comparing two versions of a service
  * configuration.
+ *
  * Includes detailed information about a field that have changed with
  * applicable advice about potential consequences for the change, such as
  * backwards-incompatibility.
@@ -55,11 +56,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ConfigChange();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_descriptor;
   }
@@ -556,6 +552,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * 
    * Output generated from semantically comparing two versions of a service
    * configuration.
+   *
    * Includes detailed information about a field that have changed with
    * applicable advice about potential consequences for the change, such as
    * backwards-incompatibility.
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 f3f2c60cf3..3350e8f149 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
@@ -23,24 +23,31 @@
  *
  * 
  * `Context` defines which contexts an API requests.
+ *
  * Example:
+ *
  *     context:
  *       rules:
  *       - selector: "*"
  *         requested:
  *         - google.rpc.context.ProjectContext
  *         - google.rpc.context.OriginContext
+ *
  * The above specifies that all methods in the API request
  * `google.rpc.context.ProjectContext` and
  * `google.rpc.context.OriginContext`.
+ *
  * Available context types are defined in package
  * `google.rpc.context`.
+ *
  * This also provides mechanism to allowlist any protobuf message extension that
  * can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
  * “x-goog-ext-<extension_id>-jspb” format. For example, list any service
  * specific protobuf types that can appear in grpc metadata as follows in your
  * yaml file:
+ *
  * Example:
+ *
  *     context:
  *       rules:
  *        - selector: "google.example.library.v1.LibraryService.CreateBook"
@@ -48,6 +55,7 @@
  *          - google.foo.v1.NewExtension
  *          allowed_response_extensions:
  *          - google.foo.v1.NewExtension
+ *
  * You can also specify extension ID instead of fully qualified extension name
  * here.
  * 
@@ -74,11 +82,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Context(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ContextProto.internal_static_google_api_Context_descriptor; } @@ -100,6 +103,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -114,6 +118,7 @@ public java.util.List getRulesList() { * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -128,6 +133,7 @@ public java.util.List getRulesOrB * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -142,6 +148,7 @@ public int getRulesCount() { * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -156,6 +163,7 @@ public com.google.api.ContextRule getRules(int index) { * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -330,24 +338,31 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * `Context` defines which contexts an API requests.
+   *
    * Example:
+   *
    *     context:
    *       rules:
    *       - selector: "*"
    *         requested:
    *         - google.rpc.context.ProjectContext
    *         - google.rpc.context.OriginContext
+   *
    * The above specifies that all methods in the API request
    * `google.rpc.context.ProjectContext` and
    * `google.rpc.context.OriginContext`.
+   *
    * Available context types are defined in package
    * `google.rpc.context`.
+   *
    * This also provides mechanism to allowlist any protobuf message extension that
    * can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
    * “x-goog-ext-<extension_id>-jspb” format. For example, list any service
    * specific protobuf types that can appear in grpc metadata as follows in your
    * yaml file:
+   *
    * Example:
+   *
    *     context:
    *       rules:
    *        - selector: "google.example.library.v1.LibraryService.CreateBook"
@@ -355,6 +370,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *          - google.foo.v1.NewExtension
    *          allowed_response_extensions:
    *          - google.foo.v1.NewExtension
+   *
    * You can also specify extension ID instead of fully qualified extension name
    * here.
    * 
@@ -593,6 +609,7 @@ private void ensureRulesIsMutable() { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -610,6 +627,7 @@ public java.util.List getRulesList() { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -627,6 +645,7 @@ public int getRulesCount() { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -644,6 +663,7 @@ public com.google.api.ContextRule getRules(int index) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -667,6 +687,7 @@ public Builder setRules(int index, com.google.api.ContextRule value) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -687,6 +708,7 @@ public Builder setRules(int index, com.google.api.ContextRule.Builder builderFor * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -710,6 +732,7 @@ public Builder addRules(com.google.api.ContextRule value) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -733,6 +756,7 @@ public Builder addRules(int index, com.google.api.ContextRule value) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -753,6 +777,7 @@ public Builder addRules(com.google.api.ContextRule.Builder builderForValue) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -773,6 +798,7 @@ public Builder addRules(int index, com.google.api.ContextRule.Builder builderFor * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -793,6 +819,7 @@ public Builder addAllRules(java.lang.Iterable * A list of RPC context rules that apply to individual API methods. + * * **NOTE:** All service configuration rules follow "last one wins" order. *
* @@ -813,6 +840,7 @@ public Builder clearRules() { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -833,6 +861,7 @@ public Builder removeRules(int index) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -846,6 +875,7 @@ public com.google.api.ContextRule.Builder getRulesBuilder(int index) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -863,6 +893,7 @@ public com.google.api.ContextRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -880,6 +911,7 @@ public java.util.List getRulesOrB * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -893,6 +925,7 @@ public com.google.api.ContextRule.Builder addRulesBuilder() { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -907,6 +940,7 @@ public com.google.api.ContextRule.Builder addRulesBuilder(int index) { * *
      * A list of RPC context rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* 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 f7018ada23..8a776db816 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 @@ -28,6 +28,7 @@ public interface ContextOrBuilder * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -39,6 +40,7 @@ public interface ContextOrBuilder * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -50,6 +52,7 @@ public interface ContextOrBuilder * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -61,6 +64,7 @@ public interface ContextOrBuilder * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -72,6 +76,7 @@ public interface ContextOrBuilder * *
    * A list of RPC context rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* 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 de05105937..d9386c71e0 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 @@ -40,10 +40,10 @@ private ContextRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { private ContextRule() { selector_ = ""; - requested_ = com.google.protobuf.LazyStringArrayList.EMPTY; - provided_ = com.google.protobuf.LazyStringArrayList.EMPTY; - allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + requested_ = com.google.protobuf.LazyStringArrayList.emptyList(); + provided_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -52,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContextRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ContextProto.internal_static_google_api_ContextRule_descriptor; } @@ -78,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -103,6 +99,7 @@ public java.lang.String getSelector() { * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -127,7 +124,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { public static final int REQUESTED_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList requested_; + private com.google.protobuf.LazyStringArrayList requested_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -190,7 +188,8 @@ public com.google.protobuf.ByteString getRequestedBytes(int index) { public static final int PROVIDED_FIELD_NUMBER = 3; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList provided_; + private com.google.protobuf.LazyStringArrayList provided_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -253,7 +252,8 @@ public com.google.protobuf.ByteString getProvidedBytes(int index) { public static final int ALLOWED_REQUEST_EXTENSIONS_FIELD_NUMBER = 4; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList allowedRequestExtensions_; + private com.google.protobuf.LazyStringArrayList allowedRequestExtensions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -320,7 +320,8 @@ public com.google.protobuf.ByteString getAllowedRequestExtensionsBytes(int index public static final int ALLOWED_RESPONSE_EXTENSIONS_FIELD_NUMBER = 5; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList allowedResponseExtensions_; + private com.google.protobuf.LazyStringArrayList allowedResponseExtensions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -647,14 +648,10 @@ public Builder clear() { super.clear(); bitField0_ = 0; selector_ = ""; - requested_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - provided_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + requested_ = com.google.protobuf.LazyStringArrayList.emptyList(); + provided_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -680,7 +677,6 @@ public com.google.api.ContextRule build() { @java.lang.Override public com.google.api.ContextRule buildPartial() { com.google.api.ContextRule result = new com.google.api.ContextRule(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -688,34 +684,27 @@ public com.google.api.ContextRule buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.api.ContextRule result) { - if (((bitField0_ & 0x00000002) != 0)) { - requested_ = requested_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.requested_ = requested_; - if (((bitField0_ & 0x00000004) != 0)) { - provided_ = provided_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.provided_ = provided_; - if (((bitField0_ & 0x00000008) != 0)) { - allowedRequestExtensions_ = allowedRequestExtensions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.allowedRequestExtensions_ = allowedRequestExtensions_; - if (((bitField0_ & 0x00000010) != 0)) { - allowedResponseExtensions_ = allowedResponseExtensions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.allowedResponseExtensions_ = allowedResponseExtensions_; - } - private void buildPartial0(com.google.api.ContextRule result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.selector_ = selector_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + requested_.makeImmutable(); + result.requested_ = requested_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + provided_.makeImmutable(); + result.provided_ = provided_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + allowedRequestExtensions_.makeImmutable(); + result.allowedRequestExtensions_ = allowedRequestExtensions_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + allowedResponseExtensions_.makeImmutable(); + result.allowedResponseExtensions_ = allowedResponseExtensions_; + } } @java.lang.Override @@ -771,7 +760,7 @@ public Builder mergeFrom(com.google.api.ContextRule other) { if (!other.requested_.isEmpty()) { if (requested_.isEmpty()) { requested_ = other.requested_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureRequestedIsMutable(); requested_.addAll(other.requested_); @@ -781,7 +770,7 @@ public Builder mergeFrom(com.google.api.ContextRule other) { if (!other.provided_.isEmpty()) { if (provided_.isEmpty()) { provided_ = other.provided_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ |= 0x00000004; } else { ensureProvidedIsMutable(); provided_.addAll(other.provided_); @@ -791,7 +780,7 @@ public Builder mergeFrom(com.google.api.ContextRule other) { if (!other.allowedRequestExtensions_.isEmpty()) { if (allowedRequestExtensions_.isEmpty()) { allowedRequestExtensions_ = other.allowedRequestExtensions_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ |= 0x00000008; } else { ensureAllowedRequestExtensionsIsMutable(); allowedRequestExtensions_.addAll(other.allowedRequestExtensions_); @@ -801,7 +790,7 @@ public Builder mergeFrom(com.google.api.ContextRule other) { if (!other.allowedResponseExtensions_.isEmpty()) { if (allowedResponseExtensions_.isEmpty()) { allowedResponseExtensions_ = other.allowedResponseExtensions_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ |= 0x00000010; } else { ensureAllowedResponseExtensionsIsMutable(); allowedResponseExtensions_.addAll(other.allowedResponseExtensions_); @@ -893,6 +882,7 @@ public Builder mergeFrom( * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -917,6 +907,7 @@ public java.lang.String getSelector() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -941,6 +932,7 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -964,6 +956,7 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -983,6 +976,7 @@ public Builder clearSelector() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1003,14 +997,14 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList requested_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList requested_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureRequestedIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!requested_.isModifiable()) { requested_ = new com.google.protobuf.LazyStringArrayList(requested_); - bitField0_ |= 0x00000002; } + bitField0_ |= 0x00000002; } /** * @@ -1024,7 +1018,8 @@ private void ensureRequestedIsMutable() { * @return A list containing the requested. */ public com.google.protobuf.ProtocolStringList getRequestedList() { - return requested_.getUnmodifiableView(); + requested_.makeImmutable(); + return requested_; } /** * @@ -1089,6 +1084,7 @@ public Builder setRequested(int index, java.lang.String value) { } ensureRequestedIsMutable(); requested_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1110,6 +1106,7 @@ public Builder addRequested(java.lang.String value) { } ensureRequestedIsMutable(); requested_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1128,6 +1125,7 @@ public Builder addRequested(java.lang.String value) { public Builder addAllRequested(java.lang.Iterable values) { ensureRequestedIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requested_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1143,8 +1141,9 @@ public Builder addAllRequested(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearRequested() { - requested_ = com.google.protobuf.LazyStringArrayList.EMPTY; + requested_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -1167,18 +1166,19 @@ public Builder addRequestedBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureRequestedIsMutable(); requested_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } - private com.google.protobuf.LazyStringList provided_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList provided_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureProvidedIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!provided_.isModifiable()) { provided_ = new com.google.protobuf.LazyStringArrayList(provided_); - bitField0_ |= 0x00000004; } + bitField0_ |= 0x00000004; } /** * @@ -1192,7 +1192,8 @@ private void ensureProvidedIsMutable() { * @return A list containing the provided. */ public com.google.protobuf.ProtocolStringList getProvidedList() { - return provided_.getUnmodifiableView(); + provided_.makeImmutable(); + return provided_; } /** * @@ -1257,6 +1258,7 @@ public Builder setProvided(int index, java.lang.String value) { } ensureProvidedIsMutable(); provided_.set(index, value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1278,6 +1280,7 @@ public Builder addProvided(java.lang.String value) { } ensureProvidedIsMutable(); provided_.add(value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1296,6 +1299,7 @@ public Builder addProvided(java.lang.String value) { public Builder addAllProvided(java.lang.Iterable values) { ensureProvidedIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, provided_); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1311,8 +1315,9 @@ public Builder addAllProvided(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearProvided() { - provided_ = com.google.protobuf.LazyStringArrayList.EMPTY; + provided_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } @@ -1335,19 +1340,20 @@ public Builder addProvidedBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureProvidedIsMutable(); provided_.add(value); + bitField0_ |= 0x00000004; onChanged(); return this; } - private com.google.protobuf.LazyStringList allowedRequestExtensions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList allowedRequestExtensions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAllowedRequestExtensionsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!allowedRequestExtensions_.isModifiable()) { allowedRequestExtensions_ = new com.google.protobuf.LazyStringArrayList(allowedRequestExtensions_); - bitField0_ |= 0x00000008; } + bitField0_ |= 0x00000008; } /** * @@ -1362,7 +1368,8 @@ private void ensureAllowedRequestExtensionsIsMutable() { * @return A list containing the allowedRequestExtensions. */ public com.google.protobuf.ProtocolStringList getAllowedRequestExtensionsList() { - return allowedRequestExtensions_.getUnmodifiableView(); + allowedRequestExtensions_.makeImmutable(); + return allowedRequestExtensions_; } /** * @@ -1431,6 +1438,7 @@ public Builder setAllowedRequestExtensions(int index, java.lang.String value) { } ensureAllowedRequestExtensionsIsMutable(); allowedRequestExtensions_.set(index, value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1453,6 +1461,7 @@ public Builder addAllowedRequestExtensions(java.lang.String value) { } ensureAllowedRequestExtensionsIsMutable(); allowedRequestExtensions_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1472,6 +1481,7 @@ public Builder addAllowedRequestExtensions(java.lang.String value) { public Builder addAllAllowedRequestExtensions(java.lang.Iterable values) { ensureAllowedRequestExtensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedRequestExtensions_); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1488,8 +1498,9 @@ public Builder addAllAllowedRequestExtensions(java.lang.Iterable values) { ensureAllowedResponseExtensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedResponseExtensions_); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1666,8 +1682,9 @@ public Builder addAllAllowedResponseExtensions(java.lang.Iterable * Selects the methods to which this rule applies. + * * Refer to [selector][google.api.DocumentationRule.selector] for syntax * details. *
@@ -42,6 +43,7 @@ public interface ContextRuleOrBuilder * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
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 2a4452abc3..c07cc66096 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 @@ -23,7 +23,9 @@ * *
  * Selects and configures the service controller used by the service.
+ *
  * Example:
+ *
  *     control:
  *       environment: servicecontrol.googleapis.com
  * 
@@ -50,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Control(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ControlProto.internal_static_google_api_Control_descriptor; } @@ -284,7 +281,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Selects and configures the service controller used by the service.
+   *
    * Example:
+   *
    *     control:
    *       environment: servicecontrol.googleapis.com
    * 
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 9559091e0e..2c7c14d208 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 @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CppSettings(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_CppSettings_descriptor; } 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 9d1518d10d..8b1b07a164 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 @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomHttpPattern(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.HttpProto.internal_static_google_api_CustomHttpPattern_descriptor; } 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 14f77f78a9..15b4718339 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 @@ -25,12 +25,14 @@ * `Distribution` contains summary statistics for a population of values. It * optionally contains a histogram representing the distribution of those values * across a set of buckets. + * * The summary statistics are the count, mean, sum of the squared deviation from * the mean, the minimum, and the maximum of the set of population of values. * The histogram is based on a sequence of buckets and gives a count of values * that fall into each bucket. The boundaries of the buckets are given either * explicitly or by formulas for buckets of fixed or exponentially increasing * widths. + * * Although it is not forbidden, it is generally a bad idea to include * non-finite values (infinities or NaNs) in the population of values, as this * will render the `mean` and `sum_of_squared_deviation` fields meaningless. @@ -59,11 +61,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Distribution(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto.internal_static_google_api_Distribution_descriptor; } @@ -135,11 +132,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Range(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_Range_descriptor; @@ -839,7 +831,7 @@ public interface BucketOptionsOrBuilder */ com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBucketsOrBuilder(); - public com.google.api.Distribution.BucketOptions.OptionsCase getOptionsCase(); + com.google.api.Distribution.BucketOptions.OptionsCase getOptionsCase(); } /** * @@ -849,6 +841,7 @@ public interface BucketOptionsOrBuilder * for the distribution. The buckets can be in a linear sequence, an * exponential sequence, or each bucket can be specified explicitly. * `BucketOptions` does not include the number of values in each bucket. + * * A bucket has an inclusive lower bound and exclusive upper bound for the * values that are counted for that bucket. The upper bound of a bucket must * be strictly greater than the lower bound. The sequence of N buckets for a @@ -881,11 +874,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BucketOptions(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_descriptor; @@ -952,9 +940,12 @@ public interface LinearOrBuilder * Specifies a linear sequence of buckets that all have the same width * (except overflow and underflow). Each bucket represents a constant * absolute uncertainty on the specific value in the bucket. + * * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the * following boundaries: + * * Upper bound (0 <= i < N-1): offset + (width * i). + * * Lower bound (1 <= i < N): offset + (width * (i - 1)). *
* @@ -978,11 +969,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Linear(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Linear_descriptor; @@ -1245,9 +1231,12 @@ protected Builder newBuilderForType( * Specifies a linear sequence of buckets that all have the same width * (except overflow and underflow). Each bucket represents a constant * absolute uncertainty on the specific value in the bucket. + * * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the * following boundaries: + * * Upper bound (0 <= i < N-1): offset + (width * i). + * * Lower bound (1 <= i < N): offset + (width * (i - 1)). *
* @@ -1728,9 +1717,12 @@ public interface ExponentialOrBuilder * Specifies an exponential sequence of buckets that have a width that is * proportional to the value of the lower bound. Each bucket represents a * constant relative uncertainty on a specific value in the bucket. + * * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the * following boundaries: + * * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). + * * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). *
* @@ -1754,11 +1746,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Exponential(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor; @@ -2022,9 +2009,12 @@ protected Builder newBuilderForType( * Specifies an exponential sequence of buckets that have a width that is * proportional to the value of the lower bound. Each bucket represents a * constant relative uncertainty on a specific value in the bucket. + * * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the * following boundaries: + * * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). + * * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). *
* @@ -2502,10 +2492,13 @@ public interface ExplicitOrBuilder * *
      * Specifies a set of buckets with arbitrary widths.
+     *
      * There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
      * boundaries:
+     *
      *    Upper bound (0 <= i < N-1):     bounds[i]
      *    Lower bound (1 <= i < N);       bounds[i - 1]
+     *
      * The `bounds` field must contain at least one element. If `bounds` has
      * only one element, then there are no finite buckets, and that single
      * element is the common boundary of the overflow and underflow buckets.
@@ -2533,11 +2526,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Explicit();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-        return this.unknownFields;
-      }
-
       public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
         return com.google.api.DistributionProto
             .internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
@@ -2784,10 +2772,13 @@ protected Builder newBuilderForType(
        *
        * 
        * Specifies a set of buckets with arbitrary widths.
+       *
        * There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
        * boundaries:
+       *
        *    Upper bound (0 <= i < N-1):     bounds[i]
        *    Lower bound (1 <= i < N);       bounds[i - 1]
+       *
        * The `bounds` field must contain at least one element. If `bounds` has
        * only one element, then there are no finite buckets, and that single
        * element is the common boundary of the overflow and underflow buckets.
@@ -3189,6 +3180,8 @@ public com.google.api.Distribution.BucketOptions.Explicit getDefaultInstanceForT
     }
 
     private int optionsCase_ = 0;
+
+    @SuppressWarnings("serial")
     private java.lang.Object options_;
 
     public enum OptionsCase
@@ -3606,6 +3599,7 @@ protected Builder newBuilderForType(
      * for the distribution. The buckets can be in a linear sequence, an
      * exponential sequence, or each bucket can be specified explicitly.
      * `BucketOptions` does not include the number of values in each bucket.
+     *
      * A bucket has an inclusive lower bound and exclusive upper bound for the
      * values that are counted for that bucket. The upper bound of a bucket must
      * be strictly greater than the lower bound. The sequence of N buckets for a
@@ -4622,10 +4616,14 @@ public interface ExemplarOrBuilder
      *
      * 
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4638,10 +4636,14 @@ public interface ExemplarOrBuilder * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4654,10 +4656,14 @@ public interface ExemplarOrBuilder * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4670,10 +4676,14 @@ public interface ExemplarOrBuilder * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4686,10 +4696,14 @@ public interface ExemplarOrBuilder * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4731,11 +4745,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Exemplar(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_Exemplar_descriptor; @@ -4825,10 +4834,14 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4844,10 +4857,14 @@ public java.util.List getAttachmentsList() { * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4864,10 +4881,14 @@ public java.util.List getAttachmentsList() { * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4883,10 +4904,14 @@ public int getAttachmentsCount() { * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -4902,10 +4927,14 @@ public com.google.protobuf.Any getAttachments(int index) { * *
      * Contextual information about the example value. Examples are:
+     *
      *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     *
      *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     *
      *   Labels dropped during aggregation:
      *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
      * 
@@ -5628,10 +5657,14 @@ private void ensureAttachmentsIsMutable() { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5650,10 +5683,14 @@ public java.util.List getAttachmentsList() { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5672,10 +5709,14 @@ public int getAttachmentsCount() { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5694,10 +5735,14 @@ public com.google.protobuf.Any getAttachments(int index) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5722,10 +5767,14 @@ public Builder setAttachments(int index, com.google.protobuf.Any value) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5747,10 +5796,14 @@ public Builder setAttachments(int index, com.google.protobuf.Any.Builder builder * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5775,10 +5828,14 @@ public Builder addAttachments(com.google.protobuf.Any value) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5803,10 +5860,14 @@ public Builder addAttachments(int index, com.google.protobuf.Any value) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5828,10 +5889,14 @@ public Builder addAttachments(com.google.protobuf.Any.Builder builderForValue) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5853,10 +5918,14 @@ public Builder addAttachments(int index, com.google.protobuf.Any.Builder builder * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5879,10 +5948,14 @@ public Builder addAllAttachments( * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5904,10 +5977,14 @@ public Builder clearAttachments() { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5929,10 +6006,14 @@ public Builder removeAttachments(int index) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5947,10 +6028,14 @@ public com.google.protobuf.Any.Builder getAttachmentsBuilder(int index) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5969,10 +6054,14 @@ public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(int index) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -5992,10 +6081,14 @@ public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(int index) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -6011,10 +6104,14 @@ public com.google.protobuf.Any.Builder addAttachmentsBuilder() { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -6030,10 +6127,14 @@ public com.google.protobuf.Any.Builder addAttachmentsBuilder(int index) { * *
        * Contextual information about the example value. Examples are:
+       *
        *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       *
        *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       *
        *   Labels dropped during aggregation:
        *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
        * 
@@ -6175,9 +6276,12 @@ public double getMean() { *
    * The sum of squared deviations from the mean of the values in the
    * population. For values x_i this is:
+   *
    *     Sum[i=1..n]((x_i - mean)^2)
+   *
    * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
    * describes Welford's method for accumulating this sum in one pass.
+   *
    * If `count` is zero then this field must be zero.
    * 
* @@ -6305,9 +6409,11 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -6332,9 +6438,11 @@ public java.util.List getBucketCountsList() { * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -6358,9 +6466,11 @@ public int getBucketCountsCount() { * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -6704,12 +6814,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * `Distribution` contains summary statistics for a population of values. It * optionally contains a histogram representing the distribution of those values * across a set of buckets. + * * The summary statistics are the count, mean, sum of the squared deviation from * the mean, the minimum, and the maximum of the set of population of values. * The histogram is based on a sequence of buckets and gives a count of values * that fall into each bucket. The boundaries of the buckets are given either * explicitly or by formulas for buckets of fixed or exponentially increasing * widths. + * * Although it is not forbidden, it is generally a bad idea to include * non-finite values (infinities or NaNs) in the population of values, as this * will render the `mean` and `sum_of_squared_deviation` fields meaningless. @@ -7161,9 +7273,12 @@ public Builder clearMean() { *
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
+     *
      *     Sum[i=1..n]((x_i - mean)^2)
+     *
      * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
      * describes Welford's method for accumulating this sum in one pass.
+     *
      * If `count` is zero then this field must be zero.
      * 
* @@ -7181,9 +7296,12 @@ public double getSumOfSquaredDeviation() { *
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
+     *
      *     Sum[i=1..n]((x_i - mean)^2)
+     *
      * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
      * describes Welford's method for accumulating this sum in one pass.
+     *
      * If `count` is zero then this field must be zero.
      * 
* @@ -7205,9 +7323,12 @@ public Builder setSumOfSquaredDeviation(double value) { *
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
+     *
      *     Sum[i=1..n]((x_i - mean)^2)
+     *
      * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
      * describes Welford's method for accumulating this sum in one pass.
+     *
      * If `count` is zero then this field must be zero.
      * 
* @@ -7620,9 +7741,11 @@ private void ensureBucketCountsIsMutable() { * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -7648,9 +7771,11 @@ public java.util.List getBucketCountsList() { * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -7674,9 +7799,11 @@ public int getBucketCountsCount() { * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -7701,9 +7828,11 @@ public long getBucketCounts(int index) { * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -7733,9 +7862,11 @@ public Builder setBucketCounts(int index, long value) { * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -7764,9 +7895,11 @@ public Builder addBucketCounts(long value) { * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -7794,9 +7927,11 @@ public Builder addAllBucketCounts(java.lang.Iterable v * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the 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 27f3411ae3..1b6d60c622 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 @@ -58,9 +58,12 @@ public interface DistributionOrBuilder *
    * The sum of squared deviations from the mean of the values in the
    * population. For values x_i this is:
+   *
    *     Sum[i=1..n]((x_i - mean)^2)
+   *
    * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
    * describes Welford's method for accumulating this sum in one pass.
+   *
    * If `count` is zero then this field must be zero.
    * 
* @@ -155,9 +158,11 @@ public interface DistributionOrBuilder * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -179,9 +184,11 @@ public interface DistributionOrBuilder * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the @@ -203,9 +210,11 @@ public interface DistributionOrBuilder * this field. If there is a histogram, then the sum of the values in * `bucket_counts` must equal the value in the `count` field of the * distribution. + * * If present, `bucket_counts` should contain N values, where N is the number * of buckets specified in `bucket_options`. If you supply fewer than N * values, the remaining values are assumed to be 0. + * * The order of the values in `bucket_counts` follows the bucket numbering * schemes described for the three bucket types. The first value must be the * count for the underflow bucket (number 0). The next N-2 values are the 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 bb34d32e9e..523c13c027 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 @@ -23,6 +23,7 @@ * *
  * `Documentation` provides the information for describing a service.
+ *
  * Example:
  * <pre><code>documentation:
  *   summary: >
@@ -49,11 +50,14 @@
  * code blocks are supported. Section headers can be provided and are
  * interpreted relative to the section nesting of the context where
  * a documentation fragment is embedded.
+ *
  * Documentation from the IDL is merged with documentation defined
  * via the config at normalization time, where documentation provided
  * by config rules overrides IDL provided.
+ *
  * A number of constructs specific to the API platform are supported
  * in documentation text.
+ *
  * In order to reference a proto element, the following
  * notation can be used:
  * <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
@@ -61,6 +65,7 @@
  * <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
  * Text can be excluded from doc using the following notation:
  * <pre><code>&#40;-- internal comment --&#41;</code></pre>
+ *
  * A few directives are available in documentation. Note that
  * directives must appear on a single line to be properly
  * identified. The `include` directive includes a markdown file from
@@ -101,11 +106,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Documentation();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.DocumentationProto.internal_static_google_api_Documentation_descriptor;
   }
@@ -255,6 +255,7 @@ public com.google.api.PageOrBuilder getPagesOrBuilder(int index) {
    *
    * 
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -269,6 +270,7 @@ public java.util.List getRulesList() { * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -284,6 +286,7 @@ public java.util.List getRulesList() { * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -298,6 +301,7 @@ public int getRulesCount() { * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -312,6 +316,7 @@ public com.google.api.DocumentationRule getRules(int index) { * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -716,6 +721,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * `Documentation` provides the information for describing a service.
+   *
    * Example:
    * <pre><code>documentation:
    *   summary: >
@@ -742,11 +748,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * code blocks are supported. Section headers can be provided and are
    * interpreted relative to the section nesting of the context where
    * a documentation fragment is embedded.
+   *
    * Documentation from the IDL is merged with documentation defined
    * via the config at normalization time, where documentation provided
    * by config rules overrides IDL provided.
+   *
    * A number of constructs specific to the API platform are supported
    * in documentation text.
+   *
    * In order to reference a proto element, the following
    * notation can be used:
    * <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
@@ -754,6 +763,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
    * Text can be excluded from doc using the following notation:
    * <pre><code>&#40;-- internal comment --&#41;</code></pre>
+   *
    * A few directives are available in documentation. Note that
    * directives must appear on a single line to be properly
    * identified. The `include` directive includes a markdown file from
@@ -1574,6 +1584,7 @@ private void ensureRulesIsMutable() {
      *
      * 
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1591,6 +1602,7 @@ public java.util.List getRulesList() { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1608,6 +1620,7 @@ public int getRulesCount() { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1625,6 +1638,7 @@ public com.google.api.DocumentationRule getRules(int index) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1648,6 +1662,7 @@ public Builder setRules(int index, com.google.api.DocumentationRule value) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1668,6 +1683,7 @@ public Builder setRules(int index, com.google.api.DocumentationRule.Builder buil * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1691,6 +1707,7 @@ public Builder addRules(com.google.api.DocumentationRule value) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1714,6 +1731,7 @@ public Builder addRules(int index, com.google.api.DocumentationRule value) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1734,6 +1752,7 @@ public Builder addRules(com.google.api.DocumentationRule.Builder builderForValue * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1754,6 +1773,7 @@ public Builder addRules(int index, com.google.api.DocumentationRule.Builder buil * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1775,6 +1795,7 @@ public Builder addAllRules( * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1795,6 +1816,7 @@ public Builder clearRules() { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1815,6 +1837,7 @@ public Builder removeRules(int index) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1828,6 +1851,7 @@ public com.google.api.DocumentationRule.Builder getRulesBuilder(int index) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1845,6 +1869,7 @@ public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1863,6 +1888,7 @@ public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1877,6 +1903,7 @@ public com.google.api.DocumentationRule.Builder addRulesBuilder() { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1891,6 +1918,7 @@ public com.google.api.DocumentationRule.Builder addRulesBuilder(int index) { * *
      * A list of documentation rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* 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 11af64871f..b8dbbb9cb6 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 @@ -110,6 +110,7 @@ public interface DocumentationOrBuilder * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -121,6 +122,7 @@ public interface DocumentationOrBuilder * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -132,6 +134,7 @@ public interface DocumentationOrBuilder * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -143,6 +146,7 @@ public interface DocumentationOrBuilder * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -154,6 +158,7 @@ public interface DocumentationOrBuilder * *
    * A list of documentation rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* 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 68b53d491a..6a974936ab 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 @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentationRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DocumentationProto .internal_static_google_api_DocumentationRule_descriptor; 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 5ef78bea9c..88b15fd8ec 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 @@ -38,9 +38,9 @@ private DotnetSettings(com.google.protobuf.GeneratedMessageV3.Builder builder } private DotnetSettings() { - ignoredResources_ = com.google.protobuf.LazyStringArrayList.EMPTY; - forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.EMPTY; - handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; + ignoredResources_ = com.google.protobuf.LazyStringArrayList.emptyList(); + forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DotnetSettings(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_DotnetSettings_descriptor; } @@ -368,7 +363,8 @@ public java.lang.String getRenamedResourcesOrThrow(java.lang.String key) { public static final int IGNORED_RESOURCES_FIELD_NUMBER = 4; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList ignoredResources_; + private com.google.protobuf.LazyStringArrayList ignoredResources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -447,7 +443,8 @@ public com.google.protobuf.ByteString getIgnoredResourcesBytes(int index) { public static final int FORCED_NAMESPACE_ALIASES_FIELD_NUMBER = 5; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList forcedNamespaceAliases_; + private com.google.protobuf.LazyStringArrayList forcedNamespaceAliases_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -514,7 +511,8 @@ public com.google.protobuf.ByteString getForcedNamespaceAliasesBytes(int index) public static final int HANDWRITTEN_SIGNATURES_FIELD_NUMBER = 6; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList handwrittenSignatures_; + private com.google.protobuf.LazyStringArrayList handwrittenSignatures_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -896,12 +894,9 @@ public Builder clear() { } internalGetMutableRenamedServices().clear(); internalGetMutableRenamedResources().clear(); - ignoredResources_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + ignoredResources_ = com.google.protobuf.LazyStringArrayList.emptyList(); + forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -927,7 +922,6 @@ public com.google.api.DotnetSettings build() { @java.lang.Override public com.google.api.DotnetSettings buildPartial() { com.google.api.DotnetSettings result = new com.google.api.DotnetSettings(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -935,24 +929,6 @@ public com.google.api.DotnetSettings buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.api.DotnetSettings result) { - if (((bitField0_ & 0x00000008) != 0)) { - ignoredResources_ = ignoredResources_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.ignoredResources_ = ignoredResources_; - if (((bitField0_ & 0x00000010) != 0)) { - forcedNamespaceAliases_ = forcedNamespaceAliases_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.forcedNamespaceAliases_ = forcedNamespaceAliases_; - if (((bitField0_ & 0x00000020) != 0)) { - handwrittenSignatures_ = handwrittenSignatures_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.handwrittenSignatures_ = handwrittenSignatures_; - } - private void buildPartial0(com.google.api.DotnetSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -966,6 +942,18 @@ private void buildPartial0(com.google.api.DotnetSettings result) { result.renamedResources_ = internalGetRenamedResources(); result.renamedResources_.makeImmutable(); } + if (((from_bitField0_ & 0x00000008) != 0)) { + ignoredResources_.makeImmutable(); + result.ignoredResources_ = ignoredResources_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + forcedNamespaceAliases_.makeImmutable(); + result.forcedNamespaceAliases_ = forcedNamespaceAliases_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + handwrittenSignatures_.makeImmutable(); + result.handwrittenSignatures_ = handwrittenSignatures_; + } } @java.lang.Override @@ -1023,7 +1011,7 @@ public Builder mergeFrom(com.google.api.DotnetSettings other) { if (!other.ignoredResources_.isEmpty()) { if (ignoredResources_.isEmpty()) { ignoredResources_ = other.ignoredResources_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ |= 0x00000008; } else { ensureIgnoredResourcesIsMutable(); ignoredResources_.addAll(other.ignoredResources_); @@ -1033,7 +1021,7 @@ public Builder mergeFrom(com.google.api.DotnetSettings other) { if (!other.forcedNamespaceAliases_.isEmpty()) { if (forcedNamespaceAliases_.isEmpty()) { forcedNamespaceAliases_ = other.forcedNamespaceAliases_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ |= 0x00000010; } else { ensureForcedNamespaceAliasesIsMutable(); forcedNamespaceAliases_.addAll(other.forcedNamespaceAliases_); @@ -1043,7 +1031,7 @@ public Builder mergeFrom(com.google.api.DotnetSettings other) { if (!other.handwrittenSignatures_.isEmpty()) { if (handwrittenSignatures_.isEmpty()) { handwrittenSignatures_ = other.handwrittenSignatures_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ |= 0x00000020; } else { ensureHandwrittenSignaturesIsMutable(); handwrittenSignatures_.addAll(other.handwrittenSignatures_); @@ -1723,14 +1711,14 @@ public Builder putAllRenamedResources( return this; } - private com.google.protobuf.LazyStringList ignoredResources_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList ignoredResources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureIgnoredResourcesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!ignoredResources_.isModifiable()) { ignoredResources_ = new com.google.protobuf.LazyStringArrayList(ignoredResources_); - bitField0_ |= 0x00000008; } + bitField0_ |= 0x00000008; } /** * @@ -1748,7 +1736,8 @@ private void ensureIgnoredResourcesIsMutable() { * @return A list containing the ignoredResources. */ public com.google.protobuf.ProtocolStringList getIgnoredResourcesList() { - return ignoredResources_.getUnmodifiableView(); + ignoredResources_.makeImmutable(); + return ignoredResources_; } /** * @@ -1829,6 +1818,7 @@ public Builder setIgnoredResources(int index, java.lang.String value) { } ensureIgnoredResourcesIsMutable(); ignoredResources_.set(index, value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1854,6 +1844,7 @@ public Builder addIgnoredResources(java.lang.String value) { } ensureIgnoredResourcesIsMutable(); ignoredResources_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1876,6 +1867,7 @@ public Builder addIgnoredResources(java.lang.String value) { public Builder addAllIgnoredResources(java.lang.Iterable values) { ensureIgnoredResourcesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ignoredResources_); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1895,8 +1887,9 @@ public Builder addAllIgnoredResources(java.lang.Iterable value * @return This builder for chaining. */ public Builder clearIgnoredResources() { - ignoredResources_ = com.google.protobuf.LazyStringArrayList.EMPTY; + ignoredResources_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } @@ -1923,19 +1916,20 @@ public Builder addIgnoredResourcesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureIgnoredResourcesIsMutable(); ignoredResources_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } - private com.google.protobuf.LazyStringList forcedNamespaceAliases_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList forcedNamespaceAliases_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureForcedNamespaceAliasesIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!forcedNamespaceAliases_.isModifiable()) { forcedNamespaceAliases_ = new com.google.protobuf.LazyStringArrayList(forcedNamespaceAliases_); - bitField0_ |= 0x00000010; } + bitField0_ |= 0x00000010; } /** * @@ -1950,7 +1944,8 @@ private void ensureForcedNamespaceAliasesIsMutable() { * @return A list containing the forcedNamespaceAliases. */ public com.google.protobuf.ProtocolStringList getForcedNamespaceAliasesList() { - return forcedNamespaceAliases_.getUnmodifiableView(); + forcedNamespaceAliases_.makeImmutable(); + return forcedNamespaceAliases_; } /** * @@ -2019,6 +2014,7 @@ public Builder setForcedNamespaceAliases(int index, java.lang.String value) { } ensureForcedNamespaceAliasesIsMutable(); forcedNamespaceAliases_.set(index, value); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -2041,6 +2037,7 @@ public Builder addForcedNamespaceAliases(java.lang.String value) { } ensureForcedNamespaceAliasesIsMutable(); forcedNamespaceAliases_.add(value); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -2060,6 +2057,7 @@ public Builder addForcedNamespaceAliases(java.lang.String value) { public Builder addAllForcedNamespaceAliases(java.lang.Iterable values) { ensureForcedNamespaceAliasesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, forcedNamespaceAliases_); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -2076,8 +2074,9 @@ public Builder addAllForcedNamespaceAliases(java.lang.Iterable * @return This builder for chaining. */ public Builder clearForcedNamespaceAliases() { - forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.EMPTY; + forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } @@ -2101,19 +2100,20 @@ public Builder addForcedNamespaceAliasesBytes(com.google.protobuf.ByteString val checkByteStringIsUtf8(value); ensureForcedNamespaceAliasesIsMutable(); forcedNamespaceAliases_.add(value); + bitField0_ |= 0x00000010; onChanged(); return this; } - private com.google.protobuf.LazyStringList handwrittenSignatures_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList handwrittenSignatures_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureHandwrittenSignaturesIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!handwrittenSignatures_.isModifiable()) { handwrittenSignatures_ = new com.google.protobuf.LazyStringArrayList(handwrittenSignatures_); - bitField0_ |= 0x00000020; } + bitField0_ |= 0x00000020; } /** * @@ -2129,7 +2129,8 @@ private void ensureHandwrittenSignaturesIsMutable() { * @return A list containing the handwrittenSignatures. */ public com.google.protobuf.ProtocolStringList getHandwrittenSignaturesList() { - return handwrittenSignatures_.getUnmodifiableView(); + handwrittenSignatures_.makeImmutable(); + return handwrittenSignatures_; } /** * @@ -2202,6 +2203,7 @@ public Builder setHandwrittenSignatures(int index, java.lang.String value) { } ensureHandwrittenSignaturesIsMutable(); handwrittenSignatures_.set(index, value); + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2225,6 +2227,7 @@ public Builder addHandwrittenSignatures(java.lang.String value) { } ensureHandwrittenSignaturesIsMutable(); handwrittenSignatures_.add(value); + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2245,6 +2248,7 @@ public Builder addHandwrittenSignatures(java.lang.String value) { public Builder addAllHandwrittenSignatures(java.lang.Iterable values) { ensureHandwrittenSignaturesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, handwrittenSignatures_); + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2262,8 +2266,9 @@ public Builder addAllHandwrittenSignatures(java.lang.Iterable * @return This builder for chaining. */ public Builder clearHandwrittenSignatures() { - handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; + handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } @@ -2288,6 +2293,7 @@ public Builder addHandwrittenSignaturesBytes(com.google.protobuf.ByteString valu checkByteStringIsUtf8(value); ensureHandwrittenSignaturesIsMutable(); handwrittenSignatures_.add(value); + bitField0_ |= 0x00000020; onChanged(); return this; } 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 0601b05d8d..f68556c597 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 @@ -26,7 +26,9 @@ * APIs. It is commonly known as a service endpoint. A service may expose * any number of service endpoints, and all service endpoints share the same * service definition, such as quota limits and monitoring metrics. + * * Example: + * * type: google.api.Service * name: library-example.googleapis.com * endpoints: @@ -57,7 +59,7 @@ private Endpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Endpoint() { name_ = ""; - aliases_ = com.google.protobuf.LazyStringArrayList.EMPTY; + aliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); target_ = ""; } @@ -67,11 +69,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Endpoint(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.EndpointProto.internal_static_google_api_Endpoint_descriptor; } @@ -138,15 +135,18 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ALIASES_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList aliases_; + private com.google.protobuf.LazyStringArrayList aliases_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
    * Unimplemented. Dot not use.
+   *
    * DEPRECATED: This field is no longer supported. Instead of using aliases,
    * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
    * of the intended aliases.
+   *
    * Additional names that this endpoint will be hosted on.
    * 
* @@ -164,9 +164,11 @@ public com.google.protobuf.ProtocolStringList getAliasesList() { * *
    * Unimplemented. Dot not use.
+   *
    * DEPRECATED: This field is no longer supported. Instead of using aliases,
    * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
    * of the intended aliases.
+   *
    * Additional names that this endpoint will be hosted on.
    * 
* @@ -184,9 +186,11 @@ public int getAliasesCount() { * *
    * Unimplemented. Dot not use.
+   *
    * DEPRECATED: This field is no longer supported. Instead of using aliases,
    * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
    * of the intended aliases.
+   *
    * Additional names that this endpoint will be hosted on.
    * 
* @@ -205,9 +209,11 @@ public java.lang.String getAliases(int index) { * *
    * Unimplemented. Dot not use.
+   *
    * DEPRECATED: This field is no longer supported. Instead of using aliases,
    * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
    * of the intended aliases.
+   *
    * Additional names that this endpoint will be hosted on.
    * 
* @@ -503,7 +509,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * APIs. It is commonly known as a service endpoint. A service may expose * any number of service endpoints, and all service endpoints share the same * service definition, such as quota limits and monitoring metrics. + * * Example: + * * type: google.api.Service * name: library-example.googleapis.com * endpoints: @@ -550,8 +558,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; - aliases_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + aliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); target_ = ""; allowCors_ = false; return this; @@ -579,7 +586,6 @@ public com.google.api.Endpoint build() { @java.lang.Override public com.google.api.Endpoint buildPartial() { com.google.api.Endpoint result = new com.google.api.Endpoint(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -587,19 +593,15 @@ public com.google.api.Endpoint buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.api.Endpoint result) { - if (((bitField0_ & 0x00000002) != 0)) { - aliases_ = aliases_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.aliases_ = aliases_; - } - private void buildPartial0(com.google.api.Endpoint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + aliases_.makeImmutable(); + result.aliases_ = aliases_; + } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; } @@ -661,7 +663,7 @@ public Builder mergeFrom(com.google.api.Endpoint other) { if (!other.aliases_.isEmpty()) { if (aliases_.isEmpty()) { aliases_ = other.aliases_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureAliasesIsMutable(); aliases_.addAll(other.aliases_); @@ -852,23 +854,25 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList aliases_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList aliases_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAliasesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!aliases_.isModifiable()) { aliases_ = new com.google.protobuf.LazyStringArrayList(aliases_); - bitField0_ |= 0x00000002; } + bitField0_ |= 0x00000002; } /** * * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -879,16 +883,19 @@ private void ensureAliasesIsMutable() { */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getAliasesList() { - return aliases_.getUnmodifiableView(); + aliases_.makeImmutable(); + return aliases_; } /** * * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -906,9 +913,11 @@ public int getAliasesCount() { * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -927,9 +936,11 @@ public java.lang.String getAliases(int index) { * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -948,9 +959,11 @@ public com.google.protobuf.ByteString getAliasesBytes(int index) { * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -968,6 +981,7 @@ public Builder setAliases(int index, java.lang.String value) { } ensureAliasesIsMutable(); aliases_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -976,9 +990,11 @@ public Builder setAliases(int index, java.lang.String value) { * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -995,6 +1011,7 @@ public Builder addAliases(java.lang.String value) { } ensureAliasesIsMutable(); aliases_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1003,9 +1020,11 @@ public Builder addAliases(java.lang.String value) { * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -1019,6 +1038,7 @@ public Builder addAliases(java.lang.String value) { public Builder addAllAliases(java.lang.Iterable values) { ensureAliasesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aliases_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1027,9 +1047,11 @@ public Builder addAllAliases(java.lang.Iterable values) { * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -1040,8 +1062,9 @@ public Builder addAllAliases(java.lang.Iterable values) { */ @java.lang.Deprecated public Builder clearAliases() { - aliases_ = com.google.protobuf.LazyStringArrayList.EMPTY; + aliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -1050,9 +1073,11 @@ public Builder clearAliases() { * *
      * Unimplemented. Dot not use.
+     *
      * DEPRECATED: This field is no longer supported. Instead of using aliases,
      * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
      * of the intended aliases.
+     *
      * Additional names that this endpoint will be hosted on.
      * 
* @@ -1070,6 +1095,7 @@ public Builder addAliasesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureAliasesIsMutable(); aliases_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } 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 fae540697b..0eb9aa6dc4 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 @@ -53,9 +53,11 @@ public interface EndpointOrBuilder * *
    * Unimplemented. Dot not use.
+   *
    * DEPRECATED: This field is no longer supported. Instead of using aliases,
    * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
    * of the intended aliases.
+   *
    * Additional names that this endpoint will be hosted on.
    * 
* @@ -71,9 +73,11 @@ public interface EndpointOrBuilder * *
    * Unimplemented. Dot not use.
+   *
    * DEPRECATED: This field is no longer supported. Instead of using aliases,
    * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
    * of the intended aliases.
+   *
    * Additional names that this endpoint will be hosted on.
    * 
* @@ -89,9 +93,11 @@ public interface EndpointOrBuilder * *
    * Unimplemented. Dot not use.
+   *
    * DEPRECATED: This field is no longer supported. Instead of using aliases,
    * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
    * of the intended aliases.
+   *
    * Additional names that this endpoint will be hosted on.
    * 
* @@ -108,9 +114,11 @@ public interface EndpointOrBuilder * *
    * Unimplemented. Dot not use.
+   *
    * DEPRECATED: This field is no longer supported. Instead of using aliases,
    * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
    * of the intended aliases.
+   *
    * Additional names that this endpoint will be hosted on.
    * 
* 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 68f6de9284..a848229cfb 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 @@ -52,8 +52,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * *
    * The request is calling a disabled service for a consumer.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" contacting
    * "pubsub.googleapis.com" service which is disabled:
+   *
    *     { "reason": "SERVICE_DISABLED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -61,6 +63,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates the "pubsub.googleapis.com" has been disabled in
    * "projects/123".
    * 
@@ -73,9 +76,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * *
    * The request whose associated billing account is disabled.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to contact
    * "pubsub.googleapis.com" service because the associated billing account is
    * disabled:
+   *
    *     { "reason": "BILLING_DISABLED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -83,6 +88,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates the billing account associated has been disabled.
    * 
* @@ -96,8 +102,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * The request is denied because the provided [API * key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It * may be in a bad format, cannot be found, or has been expired). + * * Example of an ErrorInfo when the request is contacting * "storage.googleapis.com" service with an invalid API key: + * * { "reason": "API_KEY_INVALID", * "domain": "googleapis.com", * "metadata": { @@ -115,9 +123,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { *
    * The request is denied because it violates [API key API
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call the
    * "storage.googleapis.com" service because this service is restricted in the
    * API key:
+   *
    *     { "reason": "API_KEY_SERVICE_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -136,9 +146,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because it violates [API key HTTP
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * "storage.googleapis.com" service because the http referrer of the request
    * violates API key HTTP restrictions:
+   *
    *     { "reason": "API_KEY_HTTP_REFERRER_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -157,9 +169,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because it violates [API key IP address
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * "storage.googleapis.com" service because the caller IP of the request
    * violates API key IP address restrictions:
+   *
    *     { "reason": "API_KEY_IP_ADDRESS_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -178,9 +192,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because it violates [API key Android application
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * "storage.googleapis.com" service because the request from the Android apps
    * violates the API key Android application restrictions:
+   *
    *     { "reason": "API_KEY_ANDROID_APP_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -199,9 +215,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because it violates [API key iOS application
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * "storage.googleapis.com" service because the request from the iOS apps
    * violates the API key iOS application restrictions:
+   *
    *     { "reason": "API_KEY_IOS_APP_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -220,11 +238,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because there is not enough rate quota for the
    * consumer.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to contact
    * "pubsub.googleapis.com" service because consumer's rate quota usage has
    * reached the maximum value set for the quota limit
    * "ReadsPerMinutePerProject" on the quota metric
    * "pubsub.googleapis.com/read_requests":
+   *
    *     { "reason": "RATE_LIMIT_EXCEEDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -234,10 +254,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "quota_limit": "ReadsPerMinutePerProject"
    *       }
    *     }
+   *
    * Example of an ErrorInfo when the consumer "projects/123" checks quota on
    * the service "dataflow.googleapis.com" and hits the organization quota
    * limit "DefaultRequestsPerMinutePerOrganization" on the metric
    * "dataflow.googleapis.com/default_requests".
+   *
    *     { "reason": "RATE_LIMIT_EXCEEDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -258,10 +280,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because there is not enough resource quota for the
    * consumer.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to contact
    * "compute.googleapis.com" service because consumer's resource quota usage
    * has reached the maximum value set for the quota limit "VMsPerProject"
    * on the quota metric "compute.googleapis.com/vms":
+   *
    *     { "reason": "RESOURCE_QUOTA_EXCEEDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -271,10 +295,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "quota_limit": "VMsPerProject"
    *       }
    *     }
+   *
    * Example of an ErrorInfo when the consumer "projects/123" checks resource
    * quota on the service "dataflow.googleapis.com" and hits the organization
    * quota limit "jobs-per-organization" on the metric
    * "dataflow.googleapis.com/job_count".
+   *
    *     { "reason": "RESOURCE_QUOTA_EXCEEDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -296,9 +322,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * The request whose associated billing account address is in a tax restricted
    * location, violates the local tax restrictions when creating resources in
    * the restricted region.
+   *
    * Example of an ErrorInfo when creating the Cloud Storage Bucket in the
    * container "projects/123" under a tax restricted region
    * "locations/asia-northeast3":
+   *
    *     { "reason": "LOCATION_TAX_POLICY_VIOLATED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -307,6 +335,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "location": "locations/asia-northeast3"
    *       }
    *     }
+   *
    * This response indicates creating the Cloud Storage Bucket in
    * "locations/asia-northeast3" violates the location tax restriction.
    * 
@@ -322,8 +351,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * on the user project "projects/123" or the user project is invalid. For more * information, check the [userProject System * Parameters](https://cloud.google.com/apis/docs/system-parameters). + * * Example of an ErrorInfo when the caller is calling Cloud Storage service * with insufficient permissions on the user project: + * * { "reason": "USER_PROJECT_DENIED", * "domain": "googleapis.com", * "metadata": { @@ -344,8 +375,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * to Terms of Service(Tos) violations. Check [Project suspension * guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines) * for more information. + * * Example of an ErrorInfo when calling Cloud Storage service with the * suspended consumer "projects/123": + * * { "reason": "CONSUMER_SUSPENDED", * "domain": "googleapis.com", * "metadata": { @@ -364,8 +397,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { *
    * The request is denied because the associated consumer is invalid. It may be
    * in a bad format, cannot be found, or have been deleted.
+   *
    * Example of an ErrorInfo when calling Cloud Storage service with the
    * invalid consumer "projects/123":
+   *
    *     { "reason": "CONSUMER_INVALID",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -388,9 +423,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * to search the audit log for a request rejected by VPC Service Controls. For
    * more information, please refer [VPC Service Controls
    * Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id)
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * Cloud Storage service because the request is prohibited by the VPC Service
    * Controls.
+   *
    *     { "reason": "SECURITY_POLICY_VIOLATED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -409,8 +446,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *
    * 
    * The request is denied because the provided access token has expired.
+   *
    * Example of an ErrorInfo when the request is calling Cloud Storage service
    * with an expired access token:
+   *
    *     { "reason": "ACCESS_TOKEN_EXPIRED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -433,8 +472,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for
    * the list of the OAuth 2.0 scopes that you might need to request to access
    * the API.
+   *
    * Example of an ErrorInfo when the request is calling Cloud Storage service
    * with an access token that is missing required scopes:
+   *
    *     { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -454,12 +495,15 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * The request is denied because the account associated with the provided
    * access token is in an invalid state, such as disabled or deleted.
    * For more information, see https://cloud.google.com/docs/authentication.
+   *
    * Warning: For privacy reasons, the server may not be able to disclose the
    * email address for some accounts. The client MUST NOT depend on the
    * availability of the `email` attribute.
+   *
    * Example of an ErrorInfo when the request is to the Cloud Storage API with
    * an access token that is associated with a disabled or deleted [service
    * account](http://cloud/iam/docs/service-accounts):
+   *
    *     { "reason": "ACCOUNT_STATE_INVALID",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -479,8 +523,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because the type of the provided access token is not
    * supported by the API being called.
+   *
    * Example of an ErrorInfo when the request is to the Cloud Storage API with
    * an unsupported token type.
+   *
    *     { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -501,8 +547,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * credentials. For more information regarding the supported authentication
    * strategies for Google Cloud APIs, see
    * https://cloud.google.com/docs/authentication.
+   *
    * Example of an ErrorInfo when the request is to the Cloud Storage API
    * without any authentication credentials.
+   *
    *     { "reason": "CREDENTIALS_MISSING",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -523,9 +571,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * which acts as the [API
    * consumer](https://cloud.google.com/apis/design/glossary#api_consumer) is
    * invalid. It may be in a bad format or empty.
+   *
    * Example of an ErrorInfo when the request is to the Cloud Functions API,
    * but the offered resource project in the request in a bad format which can't
    * perform the ListFunctions method.
+   *
    *     { "reason": "RESOURCE_PROJECT_INVALID",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -545,8 +595,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because the provided session cookie is missing,
    * invalid or failed to decode.
+   *
    * Example of an ErrorInfo when the request is calling Cloud Storage service
    * with a SID cookie which can't be decoded.
+   *
    *     { "reason": "SESSION_COOKIE_INVALID",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -566,9 +618,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because the user is from a Google Workspace customer
    * that blocks their users from accessing a particular service.
+   *
    * Example scenario: https://support.google.com/a/answer/9197205?hl=en
+   *
    * Example of an ErrorInfo when access to Google Cloud Storage service is
    * blocked by the Google Workspace administrator:
+   *
    *     { "reason": "USER_BLOCKED_BY_ADMIN",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -589,8 +644,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * by administrators according to the organization policy constraint.
    * For more information see
    * https://cloud.google.com/resource-manager/docs/organization-policy/restricting-services.
+   *
    * Example of an ErrorInfo when access to Google Cloud Storage service is
    * restricted by Resource Usage Restriction policy:
+   *
    *     { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -608,11 +665,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *
    * 
    * Unimplemented. Do not use.
+   *
    * The request is denied because it contains unsupported system parameters in
    * URL query parameters or HTTP headers. For more information,
    * see https://cloud.google.com/apis/docs/system-parameters
+   *
    * Example of an ErrorInfo when access "pubsub.googleapis.com" service with
    * a request header of "x-goog-user-ip":
+   *
    *     { "reason": "SYSTEM_PARAMETER_UNSUPPORTED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -632,8 +692,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * The request is denied because it violates Org Restriction: the requested
    * resource does not belong to allowed organizations specified in
    * "X-Goog-Allowed-Resources" header.
+   *
    * Example of an ErrorInfo when accessing a GCP resource that is restricted by
    * Org Restriction for "pubsub.googleapis.com" service.
+   *
    * {
    *   reason: "ORG_RESTRICTION_VIOLATION"
    *   domain: "googleapis.com"
@@ -653,9 +715,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because "X-Goog-Allowed-Resources" header is in a bad
    * format.
+   *
    * Example of an ErrorInfo when
    * accessing "pubsub.googleapis.com" service with an invalid
    * "X-Goog-Allowed-Resources" request header.
+   *
    * {
    *   reason: "ORG_RESTRICTION_HEADER_INVALID"
    *   domain: "googleapis.com"
@@ -674,9 +738,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *
    * 
    * Unimplemented. Do not use.
+   *
    * The request is calling a service that is not visible to the consumer.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" contacting
    *  "pubsub.googleapis.com" service which is not visible to the consumer.
+   *
    *     { "reason": "SERVICE_NOT_VISIBLE",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -684,6 +751,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates the "pubsub.googleapis.com" is not visible to
    * "projects/123" (or it may not exist).
    * 
@@ -696,8 +764,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * *
    * The request is related to a project for which GCP access is suspended.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to contact
    * "pubsub.googleapis.com" service because GCP access is suspended:
+   *
    *     { "reason": "GCP_SUSPENDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -705,6 +775,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates the associated GCP account has been suspended.
    * 
* @@ -729,8 +800,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * *
    * The request is calling a disabled service for a consumer.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" contacting
    * "pubsub.googleapis.com" service which is disabled:
+   *
    *     { "reason": "SERVICE_DISABLED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -738,6 +811,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates the "pubsub.googleapis.com" has been disabled in
    * "projects/123".
    * 
@@ -750,9 +824,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * *
    * The request whose associated billing account is disabled.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to contact
    * "pubsub.googleapis.com" service because the associated billing account is
    * disabled:
+   *
    *     { "reason": "BILLING_DISABLED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -760,6 +836,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates the billing account associated has been disabled.
    * 
* @@ -773,8 +850,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * The request is denied because the provided [API * key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It * may be in a bad format, cannot be found, or has been expired). + * * Example of an ErrorInfo when the request is contacting * "storage.googleapis.com" service with an invalid API key: + * * { "reason": "API_KEY_INVALID", * "domain": "googleapis.com", * "metadata": { @@ -792,9 +871,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { *
    * The request is denied because it violates [API key API
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call the
    * "storage.googleapis.com" service because this service is restricted in the
    * API key:
+   *
    *     { "reason": "API_KEY_SERVICE_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -813,9 +894,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because it violates [API key HTTP
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * "storage.googleapis.com" service because the http referrer of the request
    * violates API key HTTP restrictions:
+   *
    *     { "reason": "API_KEY_HTTP_REFERRER_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -834,9 +917,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because it violates [API key IP address
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * "storage.googleapis.com" service because the caller IP of the request
    * violates API key IP address restrictions:
+   *
    *     { "reason": "API_KEY_IP_ADDRESS_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -855,9 +940,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because it violates [API key Android application
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * "storage.googleapis.com" service because the request from the Android apps
    * violates the API key Android application restrictions:
+   *
    *     { "reason": "API_KEY_ANDROID_APP_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -876,9 +963,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because it violates [API key iOS application
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * "storage.googleapis.com" service because the request from the iOS apps
    * violates the API key iOS application restrictions:
+   *
    *     { "reason": "API_KEY_IOS_APP_BLOCKED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -897,11 +986,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because there is not enough rate quota for the
    * consumer.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to contact
    * "pubsub.googleapis.com" service because consumer's rate quota usage has
    * reached the maximum value set for the quota limit
    * "ReadsPerMinutePerProject" on the quota metric
    * "pubsub.googleapis.com/read_requests":
+   *
    *     { "reason": "RATE_LIMIT_EXCEEDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -911,10 +1002,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "quota_limit": "ReadsPerMinutePerProject"
    *       }
    *     }
+   *
    * Example of an ErrorInfo when the consumer "projects/123" checks quota on
    * the service "dataflow.googleapis.com" and hits the organization quota
    * limit "DefaultRequestsPerMinutePerOrganization" on the metric
    * "dataflow.googleapis.com/default_requests".
+   *
    *     { "reason": "RATE_LIMIT_EXCEEDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -935,10 +1028,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because there is not enough resource quota for the
    * consumer.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to contact
    * "compute.googleapis.com" service because consumer's resource quota usage
    * has reached the maximum value set for the quota limit "VMsPerProject"
    * on the quota metric "compute.googleapis.com/vms":
+   *
    *     { "reason": "RESOURCE_QUOTA_EXCEEDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -948,10 +1043,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "quota_limit": "VMsPerProject"
    *       }
    *     }
+   *
    * Example of an ErrorInfo when the consumer "projects/123" checks resource
    * quota on the service "dataflow.googleapis.com" and hits the organization
    * quota limit "jobs-per-organization" on the metric
    * "dataflow.googleapis.com/job_count".
+   *
    *     { "reason": "RESOURCE_QUOTA_EXCEEDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -973,9 +1070,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * The request whose associated billing account address is in a tax restricted
    * location, violates the local tax restrictions when creating resources in
    * the restricted region.
+   *
    * Example of an ErrorInfo when creating the Cloud Storage Bucket in the
    * container "projects/123" under a tax restricted region
    * "locations/asia-northeast3":
+   *
    *     { "reason": "LOCATION_TAX_POLICY_VIOLATED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -984,6 +1083,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "location": "locations/asia-northeast3"
    *       }
    *     }
+   *
    * This response indicates creating the Cloud Storage Bucket in
    * "locations/asia-northeast3" violates the location tax restriction.
    * 
@@ -999,8 +1099,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * on the user project "projects/123" or the user project is invalid. For more * information, check the [userProject System * Parameters](https://cloud.google.com/apis/docs/system-parameters). + * * Example of an ErrorInfo when the caller is calling Cloud Storage service * with insufficient permissions on the user project: + * * { "reason": "USER_PROJECT_DENIED", * "domain": "googleapis.com", * "metadata": { @@ -1021,8 +1123,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * to Terms of Service(Tos) violations. Check [Project suspension * guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines) * for more information. + * * Example of an ErrorInfo when calling Cloud Storage service with the * suspended consumer "projects/123": + * * { "reason": "CONSUMER_SUSPENDED", * "domain": "googleapis.com", * "metadata": { @@ -1041,8 +1145,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { *
    * The request is denied because the associated consumer is invalid. It may be
    * in a bad format, cannot be found, or have been deleted.
+   *
    * Example of an ErrorInfo when calling Cloud Storage service with the
    * invalid consumer "projects/123":
+   *
    *     { "reason": "CONSUMER_INVALID",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1065,9 +1171,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * to search the audit log for a request rejected by VPC Service Controls. For
    * more information, please refer [VPC Service Controls
    * Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id)
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to call
    * Cloud Storage service because the request is prohibited by the VPC Service
    * Controls.
+   *
    *     { "reason": "SECURITY_POLICY_VIOLATED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1086,8 +1194,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *
    * 
    * The request is denied because the provided access token has expired.
+   *
    * Example of an ErrorInfo when the request is calling Cloud Storage service
    * with an expired access token:
+   *
    *     { "reason": "ACCESS_TOKEN_EXPIRED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1110,8 +1220,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for
    * the list of the OAuth 2.0 scopes that you might need to request to access
    * the API.
+   *
    * Example of an ErrorInfo when the request is calling Cloud Storage service
    * with an access token that is missing required scopes:
+   *
    *     { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1131,12 +1243,15 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * The request is denied because the account associated with the provided
    * access token is in an invalid state, such as disabled or deleted.
    * For more information, see https://cloud.google.com/docs/authentication.
+   *
    * Warning: For privacy reasons, the server may not be able to disclose the
    * email address for some accounts. The client MUST NOT depend on the
    * availability of the `email` attribute.
+   *
    * Example of an ErrorInfo when the request is to the Cloud Storage API with
    * an access token that is associated with a disabled or deleted [service
    * account](http://cloud/iam/docs/service-accounts):
+   *
    *     { "reason": "ACCOUNT_STATE_INVALID",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1156,8 +1271,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because the type of the provided access token is not
    * supported by the API being called.
+   *
    * Example of an ErrorInfo when the request is to the Cloud Storage API with
    * an unsupported token type.
+   *
    *     { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1178,8 +1295,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * credentials. For more information regarding the supported authentication
    * strategies for Google Cloud APIs, see
    * https://cloud.google.com/docs/authentication.
+   *
    * Example of an ErrorInfo when the request is to the Cloud Storage API
    * without any authentication credentials.
+   *
    *     { "reason": "CREDENTIALS_MISSING",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1200,9 +1319,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * which acts as the [API
    * consumer](https://cloud.google.com/apis/design/glossary#api_consumer) is
    * invalid. It may be in a bad format or empty.
+   *
    * Example of an ErrorInfo when the request is to the Cloud Functions API,
    * but the offered resource project in the request in a bad format which can't
    * perform the ListFunctions method.
+   *
    *     { "reason": "RESOURCE_PROJECT_INVALID",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1222,8 +1343,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because the provided session cookie is missing,
    * invalid or failed to decode.
+   *
    * Example of an ErrorInfo when the request is calling Cloud Storage service
    * with a SID cookie which can't be decoded.
+   *
    *     { "reason": "SESSION_COOKIE_INVALID",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1243,9 +1366,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because the user is from a Google Workspace customer
    * that blocks their users from accessing a particular service.
+   *
    * Example scenario: https://support.google.com/a/answer/9197205?hl=en
+   *
    * Example of an ErrorInfo when access to Google Cloud Storage service is
    * blocked by the Google Workspace administrator:
+   *
    *     { "reason": "USER_BLOCKED_BY_ADMIN",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1266,8 +1392,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * by administrators according to the organization policy constraint.
    * For more information see
    * https://cloud.google.com/resource-manager/docs/organization-policy/restricting-services.
+   *
    * Example of an ErrorInfo when access to Google Cloud Storage service is
    * restricted by Resource Usage Restriction policy:
+   *
    *     { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1285,11 +1413,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *
    * 
    * Unimplemented. Do not use.
+   *
    * The request is denied because it contains unsupported system parameters in
    * URL query parameters or HTTP headers. For more information,
    * see https://cloud.google.com/apis/docs/system-parameters
+   *
    * Example of an ErrorInfo when access "pubsub.googleapis.com" service with
    * a request header of "x-goog-user-ip":
+   *
    *     { "reason": "SYSTEM_PARAMETER_UNSUPPORTED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1309,8 +1440,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * The request is denied because it violates Org Restriction: the requested
    * resource does not belong to allowed organizations specified in
    * "X-Goog-Allowed-Resources" header.
+   *
    * Example of an ErrorInfo when accessing a GCP resource that is restricted by
    * Org Restriction for "pubsub.googleapis.com" service.
+   *
    * {
    *   reason: "ORG_RESTRICTION_VIOLATION"
    *   domain: "googleapis.com"
@@ -1330,9 +1463,11 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    * 
    * The request is denied because "X-Goog-Allowed-Resources" header is in a bad
    * format.
+   *
    * Example of an ErrorInfo when
    * accessing "pubsub.googleapis.com" service with an invalid
    * "X-Goog-Allowed-Resources" request header.
+   *
    * {
    *   reason: "ORG_RESTRICTION_HEADER_INVALID"
    *   domain: "googleapis.com"
@@ -1351,9 +1486,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *
    * 
    * Unimplemented. Do not use.
+   *
    * The request is calling a service that is not visible to the consumer.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" contacting
    *  "pubsub.googleapis.com" service which is not visible to the consumer.
+   *
    *     { "reason": "SERVICE_NOT_VISIBLE",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1361,6 +1499,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates the "pubsub.googleapis.com" is not visible to
    * "projects/123" (or it may not exist).
    * 
@@ -1373,8 +1512,10 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * *
    * The request is related to a project for which GCP access is suspended.
+   *
    * Example of an ErrorInfo when the consumer "projects/123" fails to contact
    * "pubsub.googleapis.com" service because GCP access is suspended:
+   *
    *     { "reason": "GCP_SUSPENDED",
    *       "domain": "googleapis.com",
    *       "metadata": {
@@ -1382,6 +1523,7 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates the associated GCP account has been suspended.
    * 
* 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 9b2fd46279..a0c5464986 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 @@ -26,6 +26,7 @@ * is required in requests, or given as output but ignored as input). * This **does not** change the behavior in protocol buffers itself; it only * denotes the behavior and may affect how API tooling handles the field. + * * Note: This enum **may** receive new values in the future. *
* 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 07ab7e51a0..191d7a1ac2 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 @@ -36,7 +36,9 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r *
    * A designation of a specific field behavior (required, output only, etc.)
    * in protobuf messages.
+   *
    * Examples:
+   *
    *   string name = 1 [(google.api.field_behavior) = REQUIRED];
    *   State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
    *   google.protobuf.Duration ttl = 1
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 bb22becb93..3ec52d7c49 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
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GoSettings();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ClientProto.internal_static_google_api_GoSettings_descriptor;
   }
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 da9fd8337d..a64c315ab4 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
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Http();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.HttpProto.internal_static_google_api_Http_descriptor;
   }
@@ -75,6 +70,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -89,6 +85,7 @@ public java.util.List getRulesList() { * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -103,6 +100,7 @@ public java.util.List getRulesOrBuil * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -117,6 +115,7 @@ public int getRulesCount() { * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -131,6 +130,7 @@ public com.google.api.HttpRule getRules(int index) { * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -150,6 +150,7 @@ public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(int index) { * When set to true, URL path parameters will be fully URI-decoded except in * cases of single segment matches in reserved expansion, where "%2F" will be * left encoded. + * * The default behavior is to not decode RFC 6570 reserved characters in multi * segment matches. *
@@ -589,6 +590,7 @@ private void ensureRulesIsMutable() { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -606,6 +608,7 @@ public java.util.List getRulesList() { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -623,6 +626,7 @@ public int getRulesCount() { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -640,6 +644,7 @@ public com.google.api.HttpRule getRules(int index) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -663,6 +668,7 @@ public Builder setRules(int index, com.google.api.HttpRule value) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -683,6 +689,7 @@ public Builder setRules(int index, com.google.api.HttpRule.Builder builderForVal * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -706,6 +713,7 @@ public Builder addRules(com.google.api.HttpRule value) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -729,6 +737,7 @@ public Builder addRules(int index, com.google.api.HttpRule value) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -749,6 +758,7 @@ public Builder addRules(com.google.api.HttpRule.Builder builderForValue) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -769,6 +779,7 @@ public Builder addRules(int index, com.google.api.HttpRule.Builder builderForVal * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -789,6 +800,7 @@ public Builder addAllRules(java.lang.Iterable * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -809,6 +821,7 @@ public Builder clearRules() { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -829,6 +842,7 @@ public Builder removeRules(int index) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -842,6 +856,7 @@ public com.google.api.HttpRule.Builder getRulesBuilder(int index) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -859,6 +874,7 @@ public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -876,6 +892,7 @@ public java.util.List getRulesOrBuil * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -889,6 +906,7 @@ public com.google.api.HttpRule.Builder addRulesBuilder() { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -902,6 +920,7 @@ public com.google.api.HttpRule.Builder addRulesBuilder(int index) { * *
      * A list of HTTP configuration rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -936,6 +955,7 @@ public java.util.List getRulesBuilderList() { * When set to true, URL path parameters will be fully URI-decoded except in * cases of single segment matches in reserved expansion, where "%2F" will be * left encoded. + * * The default behavior is to not decode RFC 6570 reserved characters in multi * segment matches. *
@@ -955,6 +975,7 @@ public boolean getFullyDecodeReservedExpansion() { * When set to true, URL path parameters will be fully URI-decoded except in * cases of single segment matches in reserved expansion, where "%2F" will be * left encoded. + * * The default behavior is to not decode RFC 6570 reserved characters in multi * segment matches. *
@@ -978,6 +999,7 @@ public Builder setFullyDecodeReservedExpansion(boolean value) { * When set to true, URL path parameters will be fully URI-decoded except in * cases of single segment matches in reserved expansion, where "%2F" will be * left encoded. + * * The default behavior is to not decode RFC 6570 reserved characters in multi * segment matches. *
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 141f53de8a..049302bcfc 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 @@ -25,31 +25,44 @@ * Message that represents an arbitrary HTTP body. It should only be used for * payload formats that can't be represented as JSON, such as raw binary or * an HTML page. + * + * * This message can be used both in streaming and non-streaming API methods in * the request as well as the response. + * * It can be used as a top-level request field, which is convenient if one * wants to extract parameters from either the URL or HTTP template into the * request fields and also want access to the raw HTTP body. + * * Example: + * * message GetResourceRequest { * // A unique request id. * string request_id = 1; + * * // The raw HTTP body is bound to this field. * google.api.HttpBody http_body = 2; + * * } + * * service ResourceService { * rpc GetResource(GetResourceRequest) * returns (google.api.HttpBody); * rpc UpdateResource(google.api.HttpBody) * returns (google.protobuf.Empty); + * * } + * * Example with streaming methods: + * * service CaldavService { * rpc GetCalendar(stream google.api.HttpBody) * returns (stream google.api.HttpBody); * rpc UpdateCalendar(stream google.api.HttpBody) * returns (stream google.api.HttpBody); + * * } + * * Use of this type only changes how the request and response bodies are * handled, all other features will continue to work unchanged. *
@@ -78,11 +91,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HttpBody(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.HttpBodyProto.internal_static_google_api_HttpBody_descriptor; } @@ -423,31 +431,44 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Message that represents an arbitrary HTTP body. It should only be used for * payload formats that can't be represented as JSON, such as raw binary or * an HTML page. + * + * * This message can be used both in streaming and non-streaming API methods in * the request as well as the response. + * * It can be used as a top-level request field, which is convenient if one * wants to extract parameters from either the URL or HTTP template into the * request fields and also want access to the raw HTTP body. + * * Example: + * * message GetResourceRequest { * // A unique request id. * string request_id = 1; + * * // The raw HTTP body is bound to this field. * google.api.HttpBody http_body = 2; + * * } + * * service ResourceService { * rpc GetResource(GetResourceRequest) * returns (google.api.HttpBody); * rpc UpdateResource(google.api.HttpBody) * returns (google.protobuf.Empty); + * * } + * * Example with streaming methods: + * * service CaldavService { * rpc GetCalendar(stream google.api.HttpBody) * returns (stream google.api.HttpBody); * rpc UpdateCalendar(stream google.api.HttpBody) * returns (stream google.api.HttpBody); + * * } + * * Use of this type only changes how the request and response bodies are * handled, all other features will continue to work unchanged. *
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 17900f27ac..2ddb68e8e0 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 @@ -28,6 +28,7 @@ public interface HttpOrBuilder * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -39,6 +40,7 @@ public interface HttpOrBuilder * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -50,6 +52,7 @@ public interface HttpOrBuilder * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -61,6 +64,7 @@ public interface HttpOrBuilder * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -72,6 +76,7 @@ public interface HttpOrBuilder * *
    * A list of HTTP configuration rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -86,6 +91,7 @@ public interface HttpOrBuilder * When set to true, URL path parameters will be fully URI-decoded except in * cases of single segment matches in reserved expansion, where "%2F" will be * left encoded. + * * The default behavior is to not decode RFC 6570 reserved characters in multi * segment matches. *
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 03212bbdab..1efbb92ca5 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 @@ -23,6 +23,7 @@ * *
  * # gRPC Transcoding
+ *
  * gRPC Transcoding is a feature for mapping between a gRPC method and one or
  * more HTTP REST endpoints. It allows developers to build a single API service
  * that supports both gRPC APIs and REST APIs. Many systems, including [Google
@@ -31,17 +32,21 @@
  * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
  * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
  * and use it for large scale production services.
+ *
  * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
  * how different portions of the gRPC request message are mapped to the URL
  * path, URL query parameters, and HTTP request body. It also controls how the
  * gRPC response message is mapped to the HTTP response body. `HttpRule` is
  * typically specified as an `google.api.http` annotation on the gRPC method.
+ *
  * Each mapping specifies a URL path template and an HTTP method. The path
  * template may refer to one or more fields in the gRPC request message, as long
  * as each field is a non-repeated field with a primitive (non-message) type.
  * The path template controls how fields of the request message are mapped to
  * the URL path.
+ *
  * Example:
+ *
  *     service Messaging {
  *       rpc GetMessage(GetMessageRequest) returns (Message) {
  *         option (google.api.http) = {
@@ -55,13 +60,17 @@
  *     message Message {
  *       string text = 1; // The resource content.
  *     }
+ *
  * This enables an HTTP REST to gRPC mapping as below:
+ *
  * HTTP | gRPC
  * -----|-----
  * `GET /v1/messages/123456`  | `GetMessage(name: "messages/123456")`
+ *
  * Any fields in the request message which are not bound by the path template
  * automatically become HTTP query parameters if there is no HTTP request body.
  * For example:
+ *
  *     service Messaging {
  *       rpc GetMessage(GetMessageRequest) returns (Message) {
  *         option (google.api.http) = {
@@ -77,21 +86,26 @@
  *       int64 revision = 2;    // Mapped to URL query parameter `revision`.
  *       SubMessage sub = 3;    // Mapped to URL query parameter `sub.subfield`.
  *     }
+ *
  * This enables a HTTP JSON to RPC mapping as below:
+ *
  * HTTP | gRPC
  * -----|-----
  * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
  * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
  * "foo"))`
+ *
  * Note that fields which are mapped to URL query parameters must have a
  * primitive type or a repeated primitive type or a non-repeated message type.
  * In the case of a repeated type, the parameter can be repeated in the URL
  * as `...?param=A&param=B`. In the case of a message type, each field of the
  * message is mapped to a separate parameter, such as
  * `...?foo.a=A&foo.b=B&foo.c=C`.
+ *
  * For HTTP methods that allow a request body, the `body` field
  * specifies the mapping. Consider a REST update method on the
  * message resource collection:
+ *
  *     service Messaging {
  *       rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
  *         option (google.api.http) = {
@@ -104,17 +118,21 @@
  *       string message_id = 1; // mapped to the URL
  *       Message message = 2;   // mapped to the body
  *     }
+ *
  * The following HTTP JSON to RPC mapping is enabled, where the
  * representation of the JSON in the request body is determined by
  * protos JSON encoding:
+ *
  * HTTP | gRPC
  * -----|-----
  * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
  * "123456" message { text: "Hi!" })`
+ *
  * The special name `*` can be used in the body mapping to define that
  * every field not bound by the path template should be mapped to the
  * request body.  This enables the following alternative definition of
  * the update method:
+ *
  *     service Messaging {
  *       rpc UpdateMessage(Message) returns (Message) {
  *         option (google.api.http) = {
@@ -127,18 +145,24 @@
  *       string message_id = 1;
  *       string text = 2;
  *     }
+ *
+ *
  * The following HTTP JSON to RPC mapping is enabled:
+ *
  * HTTP | gRPC
  * -----|-----
  * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
  * "123456" text: "Hi!")`
+ *
  * Note that when using `*` in the body mapping, it is not possible to
  * have HTTP parameters, as all fields not bound by the path end in
  * the body. This makes this option more rarely used in practice when
  * defining REST APIs. The common usage of `*` is in custom methods
  * which don't use the URL at all for transferring data.
+ *
  * It is possible to define multiple HTTP methods for one RPC by using
  * the `additional_bindings` option. Example:
+ *
  *     service Messaging {
  *       rpc GetMessage(GetMessageRequest) returns (Message) {
  *         option (google.api.http) = {
@@ -153,13 +177,17 @@
  *       string message_id = 1;
  *       string user_id = 2;
  *     }
+ *
  * This enables the following two alternative HTTP JSON to RPC mappings:
+ *
  * HTTP | gRPC
  * -----|-----
  * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
  * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
  * "123456")`
+ *
  * ## Rules for HTTP mapping
+ *
  * 1. Leaf request fields (recursive expansion nested messages in the request
  *    message) are classified into three categories:
  *    - Fields referred by the path template. They are passed via the URL path.
@@ -176,23 +204,29 @@
  *  3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
  *  request body, all
  *     fields are passed via URL path and URL query parameters.
+ *
  * ### Path template syntax
+ *
  *     Template = "/" Segments [ Verb ] ;
  *     Segments = Segment { "/" Segment } ;
  *     Segment  = "*" | "**" | LITERAL | Variable ;
  *     Variable = "{" FieldPath [ "=" Segments ] "}" ;
  *     FieldPath = IDENT { "." IDENT } ;
  *     Verb     = ":" LITERAL ;
+ *
  * The syntax `*` matches a single URL path segment. The syntax `**` matches
  * zero or more URL path segments, which must be the last part of the URL path
  * except the `Verb`.
+ *
  * The syntax `Variable` matches part of the URL path as specified by its
  * template. A variable template must not contain other variables. If a variable
  * matches a single path segment, its template may be omitted, e.g. `{var}`
  * is equivalent to `{var=*}`.
+ *
  * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
  * contains any reserved character, such characters should be percent-encoded
  * before the matching.
+ *
  * If a variable contains exactly one path segment, such as `"{var}"` or
  * `"{var=*}"`, when such a variable is expanded into a URL path on the client
  * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
@@ -200,6 +234,7 @@
  * [Discovery
  * Document](https://developers.google.com/discovery/v1/reference/apis) as
  * `{var}`.
+ *
  * If a variable contains multiple path segments, such as `"{var=foo/*}"`
  * or `"{var=**}"`, when such a variable is expanded into a URL path on the
  * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
@@ -208,11 +243,14 @@
  * [Discovery
  * Document](https://developers.google.com/discovery/v1/reference/apis) as
  * `{+var}`.
+ *
  * ## Using gRPC API Service Configuration
+ *
  * gRPC API Service Configuration (service config) is a configuration language
  * for configuring a gRPC service to become a user-facing product. The
  * service config is simply the YAML representation of the `google.api.Service`
  * proto message.
+ *
  * As an alternative to annotating your proto file, you can configure gRPC
  * transcoding in your service config YAML files. You do this by specifying a
  * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
@@ -220,16 +258,21 @@
  * have a proto that is reused in multiple services. Note that any transcoding
  * specified in the service config will override any matching transcoding
  * configuration in the proto.
+ *
  * Example:
+ *
  *     http:
  *       rules:
  *         # Selects a gRPC method and applies HttpRule to it.
  *         - selector: example.v1.Messaging.GetMessage
  *           get: /v1/messages/{message_id}/{sub.subfield}
+ *
  * ## Special notes
+ *
  * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
  * proto to JSON conversion must follow the [proto3
  * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
+ *
  * While the single segment variable follows the semantics of
  * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
  * Expansion, the multi segment variable **does not** follow RFC 6570 Section
@@ -237,13 +280,17 @@
  * does not expand special characters like `?` and `#`, which would lead
  * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
  * for multi segment variables.
+ *
  * The path variables **must not** refer to any repeated or mapped field,
  * because client libraries are not capable of handling such variable expansion.
+ *
  * The path variables **must not** capture the leading "/" character. The reason
  * is that the most common use case "{var}" does not capture the leading "/"
  * character. For consistency, all path variables must share the same behavior.
+ *
  * Repeated message fields must not be mapped to URL query parameters, because
  * no client library can support such complicated mapping.
+ *
  * If an API needs to use a JSON array for request or response body, it can map
  * the request or response body to a repeated field. However, some gRPC
  * Transcoding implementations may not support this feature.
@@ -274,11 +321,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpRule();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.HttpProto.internal_static_google_api_HttpRule_descriptor;
   }
@@ -292,6 +334,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   }
 
   private int patternCase_ = 0;
+
+  @SuppressWarnings("serial")
   private java.lang.Object pattern_;
 
   public enum PatternCase
@@ -359,6 +403,7 @@ public PatternCase getPatternCase() {
    *
    * 
    * Selects a method to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -384,6 +429,7 @@ public java.lang.String getSelector() { * *
    * Selects a method to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -829,6 +875,7 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() { * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -856,6 +903,7 @@ public java.lang.String getBody() { * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -888,6 +936,7 @@ public com.google.protobuf.ByteString getBodyBytes() { * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
@@ -915,6 +964,7 @@ public java.lang.String getResponseBody() { * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
@@ -1298,6 +1348,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * # gRPC Transcoding
+   *
    * gRPC Transcoding is a feature for mapping between a gRPC method and one or
    * more HTTP REST endpoints. It allows developers to build a single API service
    * that supports both gRPC APIs and REST APIs. Many systems, including [Google
@@ -1306,17 +1357,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
    * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
    * and use it for large scale production services.
+   *
    * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
    * how different portions of the gRPC request message are mapped to the URL
    * path, URL query parameters, and HTTP request body. It also controls how the
    * gRPC response message is mapped to the HTTP response body. `HttpRule` is
    * typically specified as an `google.api.http` annotation on the gRPC method.
+   *
    * Each mapping specifies a URL path template and an HTTP method. The path
    * template may refer to one or more fields in the gRPC request message, as long
    * as each field is a non-repeated field with a primitive (non-message) type.
    * The path template controls how fields of the request message are mapped to
    * the URL path.
+   *
    * Example:
+   *
    *     service Messaging {
    *       rpc GetMessage(GetMessageRequest) returns (Message) {
    *         option (google.api.http) = {
@@ -1330,13 +1385,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *     message Message {
    *       string text = 1; // The resource content.
    *     }
+   *
    * This enables an HTTP REST to gRPC mapping as below:
+   *
    * HTTP | gRPC
    * -----|-----
    * `GET /v1/messages/123456`  | `GetMessage(name: "messages/123456")`
+   *
    * Any fields in the request message which are not bound by the path template
    * automatically become HTTP query parameters if there is no HTTP request body.
    * For example:
+   *
    *     service Messaging {
    *       rpc GetMessage(GetMessageRequest) returns (Message) {
    *         option (google.api.http) = {
@@ -1352,21 +1411,26 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *       int64 revision = 2;    // Mapped to URL query parameter `revision`.
    *       SubMessage sub = 3;    // Mapped to URL query parameter `sub.subfield`.
    *     }
+   *
    * This enables a HTTP JSON to RPC mapping as below:
+   *
    * HTTP | gRPC
    * -----|-----
    * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
    * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
    * "foo"))`
+   *
    * Note that fields which are mapped to URL query parameters must have a
    * primitive type or a repeated primitive type or a non-repeated message type.
    * In the case of a repeated type, the parameter can be repeated in the URL
    * as `...?param=A&param=B`. In the case of a message type, each field of the
    * message is mapped to a separate parameter, such as
    * `...?foo.a=A&foo.b=B&foo.c=C`.
+   *
    * For HTTP methods that allow a request body, the `body` field
    * specifies the mapping. Consider a REST update method on the
    * message resource collection:
+   *
    *     service Messaging {
    *       rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
    *         option (google.api.http) = {
@@ -1379,17 +1443,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *       string message_id = 1; // mapped to the URL
    *       Message message = 2;   // mapped to the body
    *     }
+   *
    * The following HTTP JSON to RPC mapping is enabled, where the
    * representation of the JSON in the request body is determined by
    * protos JSON encoding:
+   *
    * HTTP | gRPC
    * -----|-----
    * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
    * "123456" message { text: "Hi!" })`
+   *
    * The special name `*` can be used in the body mapping to define that
    * every field not bound by the path template should be mapped to the
    * request body.  This enables the following alternative definition of
    * the update method:
+   *
    *     service Messaging {
    *       rpc UpdateMessage(Message) returns (Message) {
    *         option (google.api.http) = {
@@ -1402,18 +1470,24 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *       string message_id = 1;
    *       string text = 2;
    *     }
+   *
+   *
    * The following HTTP JSON to RPC mapping is enabled:
+   *
    * HTTP | gRPC
    * -----|-----
    * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
    * "123456" text: "Hi!")`
+   *
    * Note that when using `*` in the body mapping, it is not possible to
    * have HTTP parameters, as all fields not bound by the path end in
    * the body. This makes this option more rarely used in practice when
    * defining REST APIs. The common usage of `*` is in custom methods
    * which don't use the URL at all for transferring data.
+   *
    * It is possible to define multiple HTTP methods for one RPC by using
    * the `additional_bindings` option. Example:
+   *
    *     service Messaging {
    *       rpc GetMessage(GetMessageRequest) returns (Message) {
    *         option (google.api.http) = {
@@ -1428,13 +1502,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *       string message_id = 1;
    *       string user_id = 2;
    *     }
+   *
    * This enables the following two alternative HTTP JSON to RPC mappings:
+   *
    * HTTP | gRPC
    * -----|-----
    * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
    * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
    * "123456")`
+   *
    * ## Rules for HTTP mapping
+   *
    * 1. Leaf request fields (recursive expansion nested messages in the request
    *    message) are classified into three categories:
    *    - Fields referred by the path template. They are passed via the URL path.
@@ -1451,23 +1529,29 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *  3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
    *  request body, all
    *     fields are passed via URL path and URL query parameters.
+   *
    * ### Path template syntax
+   *
    *     Template = "/" Segments [ Verb ] ;
    *     Segments = Segment { "/" Segment } ;
    *     Segment  = "*" | "**" | LITERAL | Variable ;
    *     Variable = "{" FieldPath [ "=" Segments ] "}" ;
    *     FieldPath = IDENT { "." IDENT } ;
    *     Verb     = ":" LITERAL ;
+   *
    * The syntax `*` matches a single URL path segment. The syntax `**` matches
    * zero or more URL path segments, which must be the last part of the URL path
    * except the `Verb`.
+   *
    * The syntax `Variable` matches part of the URL path as specified by its
    * template. A variable template must not contain other variables. If a variable
    * matches a single path segment, its template may be omitted, e.g. `{var}`
    * is equivalent to `{var=*}`.
+   *
    * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
    * contains any reserved character, such characters should be percent-encoded
    * before the matching.
+   *
    * If a variable contains exactly one path segment, such as `"{var}"` or
    * `"{var=*}"`, when such a variable is expanded into a URL path on the client
    * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
@@ -1475,6 +1559,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * [Discovery
    * Document](https://developers.google.com/discovery/v1/reference/apis) as
    * `{var}`.
+   *
    * If a variable contains multiple path segments, such as `"{var=foo/*}"`
    * or `"{var=**}"`, when such a variable is expanded into a URL path on the
    * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
@@ -1483,11 +1568,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * [Discovery
    * Document](https://developers.google.com/discovery/v1/reference/apis) as
    * `{+var}`.
+   *
    * ## Using gRPC API Service Configuration
+   *
    * gRPC API Service Configuration (service config) is a configuration language
    * for configuring a gRPC service to become a user-facing product. The
    * service config is simply the YAML representation of the `google.api.Service`
    * proto message.
+   *
    * As an alternative to annotating your proto file, you can configure gRPC
    * transcoding in your service config YAML files. You do this by specifying a
    * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
@@ -1495,16 +1583,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * have a proto that is reused in multiple services. Note that any transcoding
    * specified in the service config will override any matching transcoding
    * configuration in the proto.
+   *
    * Example:
+   *
    *     http:
    *       rules:
    *         # Selects a gRPC method and applies HttpRule to it.
    *         - selector: example.v1.Messaging.GetMessage
    *           get: /v1/messages/{message_id}/{sub.subfield}
+   *
    * ## Special notes
+   *
    * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
    * proto to JSON conversion must follow the [proto3
    * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
+   *
    * While the single segment variable follows the semantics of
    * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
    * Expansion, the multi segment variable **does not** follow RFC 6570 Section
@@ -1512,13 +1605,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * does not expand special characters like `?` and `#`, which would lead
    * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
    * for multi segment variables.
+   *
    * The path variables **must not** refer to any repeated or mapped field,
    * because client libraries are not capable of handling such variable expansion.
+   *
    * The path variables **must not** capture the leading "/" character. The reason
    * is that the most common use case "{var}" does not capture the leading "/"
    * character. For consistency, all path variables must share the same behavior.
+   *
    * Repeated message fields must not be mapped to URL query parameters, because
    * no client library can support such complicated mapping.
+   *
    * If an API needs to use a JSON array for request or response body, it can map
    * the request or response body to a repeated field. However, some gRPC
    * Transcoding implementations may not support this feature.
@@ -1904,6 +2001,7 @@ public Builder clearPattern() {
      *
      * 
      * Selects a method to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1928,6 +2026,7 @@ public java.lang.String getSelector() { * *
      * Selects a method to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1952,6 +2051,7 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects a method to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1975,6 +2075,7 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects a method to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -1994,6 +2095,7 @@ public Builder clearSelector() { * *
      * Selects a method to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -2931,6 +3033,7 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() { * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -2957,6 +3060,7 @@ public java.lang.String getBody() { * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -2983,6 +3087,7 @@ public com.google.protobuf.ByteString getBodyBytes() { * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -3008,6 +3113,7 @@ public Builder setBody(java.lang.String value) { * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -3029,6 +3135,7 @@ public Builder clearBody() { * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -3057,6 +3164,7 @@ public Builder setBodyBytes(com.google.protobuf.ByteString value) { * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
@@ -3083,6 +3191,7 @@ public java.lang.String getResponseBody() { * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
@@ -3109,6 +3218,7 @@ public com.google.protobuf.ByteString getResponseBodyBytes() { * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
@@ -3134,6 +3244,7 @@ public Builder setResponseBody(java.lang.String value) { * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
@@ -3155,6 +3266,7 @@ public Builder clearResponseBody() { * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
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 31d51732f2..56b7fa79c9 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 @@ -28,6 +28,7 @@ public interface HttpRuleOrBuilder * *
    * Selects a method to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -42,6 +43,7 @@ public interface HttpRuleOrBuilder * *
    * Selects a method to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -291,6 +293,7 @@ public interface HttpRuleOrBuilder * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -307,6 +310,7 @@ public interface HttpRuleOrBuilder * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path * pattern to the HTTP body, or omitted for not having any HTTP request body. + * * NOTE: the referred field must be present at the top-level of the request * message type. *
@@ -324,6 +328,7 @@ public interface HttpRuleOrBuilder * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
@@ -340,6 +345,7 @@ public interface HttpRuleOrBuilder * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used * as the HTTP response body. + * * NOTE: The referred field must be present at the top-level of the response * message type. *
@@ -411,5 +417,5 @@ public interface HttpRuleOrBuilder */ com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(int index); - public com.google.api.HttpRule.PatternCase getPatternCase(); + com.google.api.HttpRule.PatternCase getPatternCase(); } 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 4bdbc32ad2..b30a9656b8 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 @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JavaSettings(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_JavaSettings_descriptor; } @@ -88,7 +83,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -119,7 +116,9 @@ public java.lang.String getLibraryPackage() { * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -180,7 +179,9 @@ public int getServiceClassNamesCount() { * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -213,7 +214,9 @@ public java.util.Map getServiceClassNames() * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -237,7 +240,9 @@ public java.util.Map getServiceClassNamesMap * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -268,7 +273,9 @@ public java.util.Map getServiceClassNamesMap * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -771,7 +778,9 @@ public Builder mergeFrom( * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -801,7 +810,9 @@ public java.lang.String getLibraryPackage() { * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -831,7 +842,9 @@ public com.google.protobuf.ByteString getLibraryPackageBytes() { * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -860,7 +873,9 @@ public Builder setLibraryPackage(java.lang.String value) { * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -885,7 +900,9 @@ public Builder clearLibraryPackage() { * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -946,7 +963,9 @@ public int getServiceClassNamesCount() { * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -979,7 +998,9 @@ public java.util.Map getServiceClassNames() * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -1003,7 +1024,9 @@ public java.util.Map getServiceClassNamesMap * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -1035,7 +1058,9 @@ public java.util.Map getServiceClassNamesMap * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -1073,7 +1098,9 @@ public Builder clearServiceClassNames() { * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -1106,7 +1133,9 @@ public java.util.Map getMutableServiceClassN * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -1137,7 +1166,9 @@ public Builder putServiceClassNames(java.lang.String key, java.lang.String value * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: 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 c6d326f4a3..72a860c07e 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 @@ -32,7 +32,9 @@ public interface JavaSettingsOrBuilder * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -52,7 +54,9 @@ public interface JavaSettingsOrBuilder * who have already set the language_settings.java.package_name" field * in gapic.yaml. API teams should use the protobuf java_package option * where possible. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * library_package: com.google.cloud.pubsub.v1 @@ -74,7 +78,9 @@ public interface JavaSettingsOrBuilder * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -95,7 +101,9 @@ public interface JavaSettingsOrBuilder * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -119,7 +127,9 @@ public interface JavaSettingsOrBuilder * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -140,7 +150,9 @@ public interface JavaSettingsOrBuilder * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: @@ -165,7 +177,9 @@ java.lang.String getServiceClassNamesOrDefault( * the language_settings.java.interface_names" field in gapic.yaml. API * teams should otherwise use the service name as it appears in the * protobuf. + * * Example of a YAML configuration:: + * * publishing: * java_settings: * service_class_names: 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 9e7968ed34..bfbcb69bfe 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 @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JwtLocation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_JwtLocation_descriptor; } @@ -65,6 +60,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int inCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object in_; public enum InCase @@ -337,6 +334,7 @@ public com.google.protobuf.ByteString getCookieBytes() { * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
@@ -366,6 +364,7 @@ public java.lang.String getValuePrefix() { * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
@@ -1251,6 +1250,7 @@ public Builder setCookieBytes(com.google.protobuf.ByteString value) { * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
@@ -1279,6 +1279,7 @@ public java.lang.String getValuePrefix() { * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
@@ -1307,6 +1308,7 @@ public com.google.protobuf.ByteString getValuePrefixBytes() { * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
@@ -1334,6 +1336,7 @@ public Builder setValuePrefix(java.lang.String value) { * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
@@ -1357,6 +1360,7 @@ public Builder clearValuePrefix() { * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
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 167a5c86e6..cd6fff9f5b 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 @@ -143,6 +143,7 @@ public interface JwtLocationOrBuilder * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
@@ -161,6 +162,7 @@ public interface JwtLocationOrBuilder * If not empty, the header value has to match (case sensitive) this prefix. * If not matched, JWT will not be extracted. If matched, JWT will be * extracted after the prefix is removed. + * * For example, for "Authorization: Bearer {JWT}", * value_prefix="Bearer " with a space at the end. *
@@ -171,5 +173,5 @@ public interface JwtLocationOrBuilder */ com.google.protobuf.ByteString getValuePrefixBytes(); - public com.google.api.JwtLocation.InCase getInCase(); + com.google.api.JwtLocation.InCase getInCase(); } 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 503d6fc0d8..66324c3b4c 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 @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelDescriptor(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.LabelProto.internal_static_google_api_LabelDescriptor_descriptor; } 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 b6b3318518..a9ea01924a 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 @@ -23,6 +23,7 @@ * *
  * A description of a log type. Example in YAML format:
+ *
  *     - name: library.googleapis.com/activity_history
  *       description: The history of borrowing and returning library items.
  *       display_name: Activity
@@ -56,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LogDescriptor();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.LogProto.internal_static_google_api_LogDescriptor_descriptor;
   }
@@ -508,6 +504,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * A description of a log type. Example in YAML format:
+   *
    *     - name: library.googleapis.com/activity_history
    *       description: The history of borrowing and returning library items.
    *       display_name: Activity
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 26cf4b48d7..37727149ad 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
@@ -23,10 +23,12 @@
  *
  * 
  * Logging configuration of the service.
+ *
  * The following example shows how to configure logs to be sent to the
  * producer and consumer projects. In the example, the `activity_history`
  * log is sent to both the producer and consumer projects, whereas the
  * `purchase_history` log is only sent to the producer project.
+ *
  *     monitored_resources:
  *     - type: library.googleapis.com/branch
  *       labels:
@@ -74,11 +76,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Logging();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.LoggingProto.internal_static_google_api_Logging_descriptor;
   }
@@ -210,7 +207,7 @@ private LoggingDestination(com.google.protobuf.GeneratedMessageV3.Builder bui
 
     private LoggingDestination() {
       monitoredResource_ = "";
-      logs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      logs_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
@@ -219,11 +216,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new LoggingDestination();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-      return this.unknownFields;
-    }
-
     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.LoggingProto
           .internal_static_google_api_Logging_LoggingDestination_descriptor;
@@ -297,7 +289,8 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() {
     public static final int LOGS_FIELD_NUMBER = 1;
 
     @SuppressWarnings("serial")
-    private com.google.protobuf.LazyStringList logs_;
+    private com.google.protobuf.LazyStringArrayList logs_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     /**
      *
      *
@@ -587,8 +580,7 @@ public Builder clear() {
         super.clear();
         bitField0_ = 0;
         monitoredResource_ = "";
-        logs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
+        logs_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
@@ -616,7 +608,6 @@ public com.google.api.Logging.LoggingDestination build() {
       public com.google.api.Logging.LoggingDestination buildPartial() {
         com.google.api.Logging.LoggingDestination result =
             new com.google.api.Logging.LoggingDestination(this);
-        buildPartialRepeatedFields(result);
         if (bitField0_ != 0) {
           buildPartial0(result);
         }
@@ -624,19 +615,15 @@ public com.google.api.Logging.LoggingDestination buildPartial() {
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.api.Logging.LoggingDestination result) {
-        if (((bitField0_ & 0x00000002) != 0)) {
-          logs_ = logs_.getUnmodifiableView();
-          bitField0_ = (bitField0_ & ~0x00000002);
-        }
-        result.logs_ = logs_;
-      }
-
       private void buildPartial0(com.google.api.Logging.LoggingDestination result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.monitoredResource_ = monitoredResource_;
         }
+        if (((from_bitField0_ & 0x00000002) != 0)) {
+          logs_.makeImmutable();
+          result.logs_ = logs_;
+        }
       }
 
       @java.lang.Override
@@ -694,7 +681,7 @@ public Builder mergeFrom(com.google.api.Logging.LoggingDestination other) {
         if (!other.logs_.isEmpty()) {
           if (logs_.isEmpty()) {
             logs_ = other.logs_;
-            bitField0_ = (bitField0_ & ~0x00000002);
+            bitField0_ |= 0x00000002;
           } else {
             ensureLogsIsMutable();
             logs_.addAll(other.logs_);
@@ -875,14 +862,14 @@ public Builder setMonitoredResourceBytes(com.google.protobuf.ByteString value) {
         return this;
       }
 
-      private com.google.protobuf.LazyStringList logs_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringArrayList logs_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
 
       private void ensureLogsIsMutable() {
-        if (!((bitField0_ & 0x00000002) != 0)) {
+        if (!logs_.isModifiable()) {
           logs_ = new com.google.protobuf.LazyStringArrayList(logs_);
-          bitField0_ |= 0x00000002;
         }
+        bitField0_ |= 0x00000002;
       }
       /**
        *
@@ -899,7 +886,8 @@ private void ensureLogsIsMutable() {
        * @return A list containing the logs.
        */
       public com.google.protobuf.ProtocolStringList getLogsList() {
-        return logs_.getUnmodifiableView();
+        logs_.makeImmutable();
+        return logs_;
       }
       /**
        *
@@ -976,6 +964,7 @@ public Builder setLogs(int index, java.lang.String value) {
         }
         ensureLogsIsMutable();
         logs_.set(index, value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1000,6 +989,7 @@ public Builder addLogs(java.lang.String value) {
         }
         ensureLogsIsMutable();
         logs_.add(value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1021,6 +1011,7 @@ public Builder addLogs(java.lang.String value) {
       public Builder addAllLogs(java.lang.Iterable values) {
         ensureLogsIsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logs_);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1039,8 +1030,9 @@ public Builder addAllLogs(java.lang.Iterable values) {
        * @return This builder for chaining.
        */
       public Builder clearLogs() {
-        logs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        logs_ = com.google.protobuf.LazyStringArrayList.emptyList();
         bitField0_ = (bitField0_ & ~0x00000002);
+        ;
         onChanged();
         return this;
       }
@@ -1066,6 +1058,7 @@ public Builder addLogsBytes(com.google.protobuf.ByteString value) {
         checkByteStringIsUtf8(value);
         ensureLogsIsMutable();
         logs_.add(value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1485,10 +1478,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * Logging configuration of the service.
+   *
    * The following example shows how to configure logs to be sent to the
    * producer and consumer projects. In the example, the `activity_history`
    * log is sent to both the producer and consumer projects, whereas the
    * `purchase_history` log is only sent to the producer project.
+   *
    *     monitored_resources:
    *     - type: library.googleapis.com/branch
    *       labels:
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 bbfec42322..c9336554ea 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
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MethodSettings();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ClientProto.internal_static_google_api_MethodSettings_descriptor;
   }
@@ -206,7 +201,7 @@ public interface LongRunningOrBuilder
    * long-running operation pattern.
    * All default values below are from those used in the client library
    * generators (e.g.
-   * [Java](https://github.com/googleapis/sdk-platform-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
+   * [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
    * 
* * Protobuf type {@code google.api.MethodSettings.LongRunning} @@ -229,11 +224,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LongRunning(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto .internal_static_google_api_MethodSettings_LongRunning_descriptor; @@ -639,7 +629,7 @@ protected Builder newBuilderForType( * long-running operation pattern. * All default values below are from those used in the client library * generators (e.g. - * [Java](https://github.com/googleapis/sdk-platform-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). + * [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). *
* * Protobuf type {@code google.api.MethodSettings.LongRunning} @@ -1639,7 +1629,9 @@ public com.google.protobuf.ByteString getSelectorBytes() { * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -1668,7 +1660,9 @@ public boolean hasLongRunning() { * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -1699,7 +1693,9 @@ public com.google.api.MethodSettings.LongRunning getLongRunning() { * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2212,7 +2208,9 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2240,7 +2238,9 @@ public boolean hasLongRunning() { * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2274,7 +2274,9 @@ public com.google.api.MethodSettings.LongRunning getLongRunning() { * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2310,7 +2312,9 @@ public Builder setLongRunning(com.google.api.MethodSettings.LongRunning value) { * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2344,7 +2348,9 @@ public Builder setLongRunning( * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2383,7 +2389,9 @@ public Builder mergeLongRunning(com.google.api.MethodSettings.LongRunning value) * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2416,7 +2424,9 @@ public Builder clearLongRunning() { * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2444,7 +2454,9 @@ public com.google.api.MethodSettings.LongRunning.Builder getLongRunningBuilder() * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -2476,7 +2488,9 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize 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 9bc4f14caa..bd505c8f47 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 @@ -57,7 +57,9 @@ public interface MethodSettingsOrBuilder * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -83,7 +85,9 @@ public interface MethodSettingsOrBuilder * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize @@ -109,7 +113,9 @@ public interface MethodSettingsOrBuilder * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. + * * Example of a YAML configuration:: + * * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize 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 95d806a9e9..25950526e9 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 @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Metric(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MetricProto.internal_static_google_api_Metric_descriptor; } 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 f39ceed755..644c652c74 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 @@ -49,7 +49,7 @@ private MetricDescriptor() { description_ = ""; displayName_ = ""; launchStage_ = 0; - monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -58,11 +58,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricDescriptor(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_descriptor; } @@ -667,11 +662,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricDescriptorMetadata(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MetricProto .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; @@ -1907,6 +1897,7 @@ public com.google.protobuf.ByteString getNameBytes() { * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -1936,6 +1927,7 @@ public java.lang.String getType() { * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -2139,22 +2131,28 @@ public com.google.api.MetricDescriptor.ValueType getValueType() { * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -2162,7 +2160,9 @@ public com.google.api.MetricDescriptor.ValueType getValueType() { * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -2171,6 +2171,7 @@ public com.google.api.MetricDescriptor.ValueType getValueType() { * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -2179,27 +2180,37 @@ public com.google.api.MetricDescriptor.ValueType getValueType() { * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. @@ -2244,22 +2255,28 @@ public java.lang.String getUnit() { * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -2267,7 +2284,9 @@ public java.lang.String getUnit() { * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -2276,6 +2295,7 @@ public java.lang.String getUnit() { * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -2284,27 +2304,37 @@ public java.lang.String getUnit() { * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. @@ -2538,7 +2568,8 @@ public com.google.api.LaunchStage getLaunchStage() { public static final int MONITORED_RESOURCE_TYPES_FIELD_NUMBER = 13; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList monitoredResourceTypes_; + private com.google.protobuf.LazyStringArrayList monitoredResourceTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -2944,8 +2975,7 @@ public Builder clear() { metadataBuilder_ = null; } launchStage_ = 0; - monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000400); + monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -2989,11 +3019,6 @@ private void buildPartialRepeatedFields(com.google.api.MetricDescriptor result) } else { result.labels_ = labelsBuilder_.build(); } - if (((bitField0_ & 0x00000400) != 0)) { - monitoredResourceTypes_ = monitoredResourceTypes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000400); - } - result.monitoredResourceTypes_ = monitoredResourceTypes_; } private void buildPartial0(com.google.api.MetricDescriptor result) { @@ -3025,6 +3050,10 @@ private void buildPartial0(com.google.api.MetricDescriptor result) { if (((from_bitField0_ & 0x00000200) != 0)) { result.launchStage_ = launchStage_; } + if (((from_bitField0_ & 0x00000400) != 0)) { + monitoredResourceTypes_.makeImmutable(); + result.monitoredResourceTypes_ = monitoredResourceTypes_; + } } @java.lang.Override @@ -3139,7 +3168,7 @@ public Builder mergeFrom(com.google.api.MetricDescriptor other) { if (!other.monitoredResourceTypes_.isEmpty()) { if (monitoredResourceTypes_.isEmpty()) { monitoredResourceTypes_ = other.monitoredResourceTypes_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ |= 0x00000400; } else { ensureMonitoredResourceTypesIsMutable(); monitoredResourceTypes_.addAll(other.monitoredResourceTypes_); @@ -3379,6 +3408,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3407,6 +3437,7 @@ public java.lang.String getType() { * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3435,6 +3466,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3462,6 +3494,7 @@ public Builder setType(java.lang.String value) { * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3485,6 +3518,7 @@ public Builder clearType() { * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -4140,22 +4174,28 @@ public Builder clearValueType() { * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -4163,7 +4203,9 @@ public Builder clearValueType() { * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -4172,6 +4214,7 @@ public Builder clearValueType() { * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -4180,27 +4223,37 @@ public Builder clearValueType() { * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. @@ -4244,22 +4297,28 @@ public java.lang.String getUnit() { * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -4267,7 +4326,9 @@ public java.lang.String getUnit() { * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -4276,6 +4337,7 @@ public java.lang.String getUnit() { * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -4284,27 +4346,37 @@ public java.lang.String getUnit() { * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. @@ -4348,22 +4420,28 @@ public com.google.protobuf.ByteString getUnitBytes() { * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -4371,7 +4449,9 @@ public com.google.protobuf.ByteString getUnitBytes() { * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -4380,6 +4460,7 @@ public com.google.protobuf.ByteString getUnitBytes() { * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -4388,27 +4469,37 @@ public com.google.protobuf.ByteString getUnitBytes() { * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. @@ -4451,22 +4542,28 @@ public Builder setUnit(java.lang.String value) { * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -4474,7 +4571,9 @@ public Builder setUnit(java.lang.String value) { * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -4483,6 +4582,7 @@ public Builder setUnit(java.lang.String value) { * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -4491,27 +4591,37 @@ public Builder setUnit(java.lang.String value) { * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. @@ -4550,22 +4660,28 @@ public Builder clearUnit() { * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -4573,7 +4689,9 @@ public Builder clearUnit() { * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -4582,6 +4700,7 @@ public Builder clearUnit() { * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -4590,27 +4709,37 @@ public Builder clearUnit() { * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. @@ -5150,15 +5279,15 @@ public Builder clearLaunchStage() { return this; } - private com.google.protobuf.LazyStringList monitoredResourceTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList monitoredResourceTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureMonitoredResourceTypesIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!monitoredResourceTypes_.isModifiable()) { monitoredResourceTypes_ = new com.google.protobuf.LazyStringArrayList(monitoredResourceTypes_); - bitField0_ |= 0x00000400; } + bitField0_ |= 0x00000400; } /** * @@ -5177,7 +5306,8 @@ private void ensureMonitoredResourceTypesIsMutable() { * @return A list containing the monitoredResourceTypes. */ public com.google.protobuf.ProtocolStringList getMonitoredResourceTypesList() { - return monitoredResourceTypes_.getUnmodifiableView(); + monitoredResourceTypes_.makeImmutable(); + return monitoredResourceTypes_; } /** * @@ -5262,6 +5392,7 @@ public Builder setMonitoredResourceTypes(int index, java.lang.String value) { } ensureMonitoredResourceTypesIsMutable(); monitoredResourceTypes_.set(index, value); + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -5288,6 +5419,7 @@ public Builder addMonitoredResourceTypes(java.lang.String value) { } ensureMonitoredResourceTypesIsMutable(); monitoredResourceTypes_.add(value); + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -5311,6 +5443,7 @@ public Builder addMonitoredResourceTypes(java.lang.String value) { public Builder addAllMonitoredResourceTypes(java.lang.Iterable values) { ensureMonitoredResourceTypesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, monitoredResourceTypes_); + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -5331,8 +5464,9 @@ public Builder addAllMonitoredResourceTypes(java.lang.Iterable * @return This builder for chaining. */ public Builder clearMonitoredResourceTypes() { - monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); + ; onChanged(); return this; } @@ -5360,6 +5494,7 @@ public Builder addMonitoredResourceTypesBytes(com.google.protobuf.ByteString val checkByteStringIsUtf8(value); ensureMonitoredResourceTypesIsMutable(); monitoredResourceTypes_.add(value); + bitField0_ |= 0x00000400; onChanged(); return this; } 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 e50bfaa62d..0f949c13b0 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 @@ -56,6 +56,7 @@ public interface MetricDescriptorOrBuilder * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -74,6 +75,7 @@ public interface MetricDescriptorOrBuilder * URL-encoded. All user-defined metric types have the DNS name * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: + * * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -222,22 +224,28 @@ public interface MetricDescriptorOrBuilder * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -245,7 +253,9 @@ public interface MetricDescriptorOrBuilder * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -254,6 +264,7 @@ public interface MetricDescriptorOrBuilder * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -262,27 +273,37 @@ public interface MetricDescriptorOrBuilder * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. @@ -316,22 +337,28 @@ public interface MetricDescriptorOrBuilder * The units in which the metric value is reported. It is only applicable * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` * defines the representation of the stored metric values. + * * Different systems might scale the values to be more easily displayed (so a * value of `0.02kBy` _might_ be displayed as `20By`, and a value of * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is * `kBy`, then the value of the metric is always in thousands of bytes, no * matter how it might be displayed. + * * If you want a custom metric to record the exact number of CPU-seconds used * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 * CPU-seconds, then the value is written as `12005`. + * * Alternatively, if you want a custom metric to record data in a more * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + * * The supported units are a subset of [The Unified Code for Units of * Measure](https://unitsofmeasure.org/ucum.html) standard: + * * **Basic units (UNIT)** + * * * `bit` bit * * `By` byte * * `s` second @@ -339,7 +366,9 @@ public interface MetricDescriptorOrBuilder * * `h` hour * * `d` day * * `1` dimensionless + * * **Prefixes (PREFIX)** + * * * `k` kilo (10^3) * * `M` mega (10^6) * * `G` giga (10^9) @@ -348,6 +377,7 @@ public interface MetricDescriptorOrBuilder * * `E` exa (10^18) * * `Z` zetta (10^21) * * `Y` yotta (10^24) + * * * `m` milli (10^-3) * * `u` micro (10^-6) * * `n` nano (10^-9) @@ -356,27 +386,37 @@ public interface MetricDescriptorOrBuilder * * `a` atto (10^-18) * * `z` zepto (10^-21) * * `y` yocto (10^-24) + * * * `Ki` kibi (2^10) * * `Mi` mebi (2^20) * * `Gi` gibi (2^30) * * `Ti` tebi (2^40) * * `Pi` pebi (2^50) + * * **Grammar** + * * The grammar also includes these connectors: + * * * `/` division or ratio (as an infix operator). For examples, * `kBy/{email}` or `MiBy/10ms` (although you should almost never * have `/s` in a metric `unit`; rates should always be computed at * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For * examples, `GBy.d` or `k{watt}.h`. + * * The grammar for a unit is as follows: + * * Expression = Component { "." Component } { "/" Component } ; + * * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] * | Annotation * | "1" * ; + * * Annotation = "{" NAME "}" ; + * * Notes: + * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation * is used alone, then the unit is equivalent to `1`. For examples, * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. 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 1d858e3f3c..1096d20d5d 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 @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.QuotaProto.internal_static_google_api_MetricRule_descriptor; } @@ -85,6 +80,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -110,6 +106,7 @@ public java.lang.String getSelector() { * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -163,6 +160,7 @@ public int getMetricCostsCount() { *
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
@@ -189,6 +187,7 @@ public java.util.Map getMetricCosts() {
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
@@ -206,6 +205,7 @@ public java.util.Map getMetricCostsMap() {
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
@@ -227,6 +227,7 @@ public long getMetricCostsOrDefault(java.lang.String key, long defaultValue) {
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
@@ -643,6 +644,7 @@ public Builder mergeFrom(
      *
      * 
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -667,6 +669,7 @@ public java.lang.String getSelector() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -691,6 +694,7 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -714,6 +718,7 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -733,6 +738,7 @@ public Builder clearSelector() { * *
      * Selects the methods to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -787,6 +793,7 @@ public int getMetricCostsCount() { *
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
+     *
      * The key of the map is the metric name, and the values are the amount
      * increased for the metric against which the quota limits are defined.
      * The value must not be negative.
@@ -813,6 +820,7 @@ public java.util.Map getMetricCosts() {
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
+     *
      * The key of the map is the metric name, and the values are the amount
      * increased for the metric against which the quota limits are defined.
      * The value must not be negative.
@@ -830,6 +838,7 @@ public java.util.Map getMetricCostsMap() {
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
+     *
      * The key of the map is the metric name, and the values are the amount
      * increased for the metric against which the quota limits are defined.
      * The value must not be negative.
@@ -851,6 +860,7 @@ public long getMetricCostsOrDefault(java.lang.String key, long defaultValue) {
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
+     *
      * The key of the map is the metric name, and the values are the amount
      * increased for the metric against which the quota limits are defined.
      * The value must not be negative.
@@ -881,6 +891,7 @@ public Builder clearMetricCosts() {
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
+     *
      * The key of the map is the metric name, and the values are the amount
      * increased for the metric against which the quota limits are defined.
      * The value must not be negative.
@@ -907,6 +918,7 @@ public java.util.Map getMutableMetricCosts() {
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
+     *
      * The key of the map is the metric name, and the values are the amount
      * increased for the metric against which the quota limits are defined.
      * The value must not be negative.
@@ -929,6 +941,7 @@ public Builder putMetricCosts(java.lang.String key, long value) {
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
+     *
      * The key of the map is the metric name, and the values are the amount
      * increased for the metric against which the quota limits are defined.
      * The value must not be negative.
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 4827435062..5aaac1d9eb 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
@@ -28,6 +28,7 @@ public interface MetricRuleOrBuilder
    *
    * 
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -42,6 +43,7 @@ public interface MetricRuleOrBuilder * *
    * Selects the methods to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -58,6 +60,7 @@ public interface MetricRuleOrBuilder *
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
@@ -72,6 +75,7 @@ public interface MetricRuleOrBuilder
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
@@ -89,6 +93,7 @@ public interface MetricRuleOrBuilder
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
@@ -103,6 +108,7 @@ public interface MetricRuleOrBuilder
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
@@ -117,6 +123,7 @@ public interface MetricRuleOrBuilder
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
+   *
    * The key of the map is the metric name, and the values are the amount
    * increased for the metric against which the quota limits are defined.
    * The value must not be negative.
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 7798d6f43b..b957e5d136 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
@@ -33,6 +33,7 @@
  * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for
  * `"gce_instance"` has labels
  * `"project_id"`, `"instance_id"` and `"zone"`:
+ *
  *     { "type": "gce_instance",
  *       "labels": { "project_id": "my-project",
  *                   "instance_id": "12345678901234",
@@ -61,11 +62,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MonitoredResource();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.MonitoredResourceProto
         .internal_static_google_api_MonitoredResource_descriptor;
@@ -453,6 +449,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for
    * `"gce_instance"` has labels
    * `"project_id"`, `"instance_id"` and `"zone"`:
+   *
    *     { "type": "gce_instance",
    *       "labels": { "project_id": "my-project",
    *                   "instance_id": "12345678901234",
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 3bb01b3c41..15c4732d6d 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
@@ -28,6 +28,7 @@
  * Google Compute Engine VM instances has a type of
  * `"gce_instance"` and specifies the use of the labels `"instance_id"` and
  * `"zone"` to identify particular VM instances.
+ *
  * Different APIs can support different monitored resource types. APIs generally
  * provide a `list` method that returns the monitored resource descriptors used
  * by the API.
@@ -60,11 +61,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MonitoredResourceDescriptor();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.MonitoredResourceProto
         .internal_static_google_api_MonitoredResourceDescriptor_descriptor;
@@ -643,6 +639,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * Google Compute Engine VM instances has a type of
    * `"gce_instance"` and specifies the use of the labels `"instance_id"` and
    * `"zone"` to identify particular VM instances.
+   *
    * Different APIs can support different monitored resource types. APIs generally
    * provide a `list` method that returns the monitored resource descriptors used
    * by the API.
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 a32f62611c..5e673cc106 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
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MonitoredResourceMetadata();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.MonitoredResourceProto
         .internal_static_google_api_MonitoredResourceMetadata_descriptor;
@@ -93,6 +88,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * "security_group", "name", etc.
    * System label values can be only strings, Boolean values, or a list of
    * strings. For example:
+   *
    *     { "name": "my-test-instance",
    *       "security_group": ["a", "b", "c"],
    *       "spot_instance": false }
@@ -116,6 +112,7 @@ public boolean hasSystemLabels() {
    * "security_group", "name", etc.
    * System label values can be only strings, Boolean values, or a list of
    * strings. For example:
+   *
    *     { "name": "my-test-instance",
    *       "security_group": ["a", "b", "c"],
    *       "spot_instance": false }
@@ -139,6 +136,7 @@ public com.google.protobuf.Struct getSystemLabels() {
    * "security_group", "name", etc.
    * System label values can be only strings, Boolean values, or a list of
    * strings. For example:
+   *
    *     { "name": "my-test-instance",
    *       "security_group": ["a", "b", "c"],
    *       "spot_instance": false }
@@ -678,6 +676,7 @@ public Builder mergeFrom(
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
@@ -700,6 +699,7 @@ public boolean hasSystemLabels() {
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
@@ -728,6 +728,7 @@ public com.google.protobuf.Struct getSystemLabels() {
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
@@ -758,6 +759,7 @@ public Builder setSystemLabels(com.google.protobuf.Struct value) {
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
@@ -785,6 +787,7 @@ public Builder setSystemLabels(com.google.protobuf.Struct.Builder builderForValu
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
@@ -818,6 +821,7 @@ public Builder mergeSystemLabels(com.google.protobuf.Struct value) {
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
@@ -845,6 +849,7 @@ public Builder clearSystemLabels() {
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
@@ -867,6 +872,7 @@ public com.google.protobuf.Struct.Builder getSystemLabelsBuilder() {
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
@@ -893,6 +899,7 @@ public com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder() {
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
+     *
      *     { "name": "my-test-instance",
      *       "security_group": ["a", "b", "c"],
      *       "spot_instance": false }
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 452635ab52..8ad34a06bf 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
@@ -33,6 +33,7 @@ public interface MonitoredResourceMetadataOrBuilder
    * "security_group", "name", etc.
    * System label values can be only strings, Boolean values, or a list of
    * strings. For example:
+   *
    *     { "name": "my-test-instance",
    *       "security_group": ["a", "b", "c"],
    *       "spot_instance": false }
@@ -53,6 +54,7 @@ public interface MonitoredResourceMetadataOrBuilder
    * "security_group", "name", etc.
    * System label values can be only strings, Boolean values, or a list of
    * strings. For example:
+   *
    *     { "name": "my-test-instance",
    *       "security_group": ["a", "b", "c"],
    *       "spot_instance": false }
@@ -73,6 +75,7 @@ public interface MonitoredResourceMetadataOrBuilder
    * "security_group", "name", etc.
    * System label values can be only strings, Boolean values, or a list of
    * strings. For example:
+   *
    *     { "name": "my-test-instance",
    *       "security_group": ["a", "b", "c"],
    *       "spot_instance": false }
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 6f7d6a58ae..b28f3c900e 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
@@ -23,12 +23,14 @@
  *
  * 
  * Monitoring configuration of the service.
+ *
  * The example below shows how to configure monitored resources and metrics
  * for monitoring. In the example, a monitored resource and two metrics are
  * defined. The `library.googleapis.com/book/returned_count` metric is sent
  * to both producer and consumer projects, whereas the
  * `library.googleapis.com/book/num_overdue` metric is only sent to the
  * consumer project.
+ *
  *     monitored_resources:
  *     - type: library.googleapis.com/Branch
  *       display_name: "Library Branch"
@@ -97,11 +99,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Monitoring();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_descriptor;
   }
@@ -229,7 +226,7 @@ private MonitoringDestination(com.google.protobuf.GeneratedMessageV3.Builder
 
     private MonitoringDestination() {
       monitoredResource_ = "";
-      metrics_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
@@ -238,11 +235,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MonitoringDestination();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-      return this.unknownFields;
-    }
-
     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.MonitoringProto
           .internal_static_google_api_Monitoring_MonitoringDestination_descriptor;
@@ -316,7 +308,8 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() {
     public static final int METRICS_FIELD_NUMBER = 2;
 
     @SuppressWarnings("serial")
-    private com.google.protobuf.LazyStringList metrics_;
+    private com.google.protobuf.LazyStringArrayList metrics_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     /**
      *
      *
@@ -602,8 +595,7 @@ public Builder clear() {
         super.clear();
         bitField0_ = 0;
         monitoredResource_ = "";
-        metrics_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
+        metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
@@ -631,7 +623,6 @@ public com.google.api.Monitoring.MonitoringDestination build() {
       public com.google.api.Monitoring.MonitoringDestination buildPartial() {
         com.google.api.Monitoring.MonitoringDestination result =
             new com.google.api.Monitoring.MonitoringDestination(this);
-        buildPartialRepeatedFields(result);
         if (bitField0_ != 0) {
           buildPartial0(result);
         }
@@ -639,20 +630,15 @@ public com.google.api.Monitoring.MonitoringDestination buildPartial() {
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.api.Monitoring.MonitoringDestination result) {
-        if (((bitField0_ & 0x00000002) != 0)) {
-          metrics_ = metrics_.getUnmodifiableView();
-          bitField0_ = (bitField0_ & ~0x00000002);
-        }
-        result.metrics_ = metrics_;
-      }
-
       private void buildPartial0(com.google.api.Monitoring.MonitoringDestination result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.monitoredResource_ = monitoredResource_;
         }
+        if (((from_bitField0_ & 0x00000002) != 0)) {
+          metrics_.makeImmutable();
+          result.metrics_ = metrics_;
+        }
       }
 
       @java.lang.Override
@@ -711,7 +697,7 @@ public Builder mergeFrom(com.google.api.Monitoring.MonitoringDestination other)
         if (!other.metrics_.isEmpty()) {
           if (metrics_.isEmpty()) {
             metrics_ = other.metrics_;
-            bitField0_ = (bitField0_ & ~0x00000002);
+            bitField0_ |= 0x00000002;
           } else {
             ensureMetricsIsMutable();
             metrics_.addAll(other.metrics_);
@@ -892,14 +878,14 @@ public Builder setMonitoredResourceBytes(com.google.protobuf.ByteString value) {
         return this;
       }
 
-      private com.google.protobuf.LazyStringList metrics_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringArrayList metrics_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
 
       private void ensureMetricsIsMutable() {
-        if (!((bitField0_ & 0x00000002) != 0)) {
+        if (!metrics_.isModifiable()) {
           metrics_ = new com.google.protobuf.LazyStringArrayList(metrics_);
-          bitField0_ |= 0x00000002;
         }
+        bitField0_ |= 0x00000002;
       }
       /**
        *
@@ -915,7 +901,8 @@ private void ensureMetricsIsMutable() {
        * @return A list containing the metrics.
        */
       public com.google.protobuf.ProtocolStringList getMetricsList() {
-        return metrics_.getUnmodifiableView();
+        metrics_.makeImmutable();
+        return metrics_;
       }
       /**
        *
@@ -988,6 +975,7 @@ public Builder setMetrics(int index, java.lang.String value) {
         }
         ensureMetricsIsMutable();
         metrics_.set(index, value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1011,6 +999,7 @@ public Builder addMetrics(java.lang.String value) {
         }
         ensureMetricsIsMutable();
         metrics_.add(value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1031,6 +1020,7 @@ public Builder addMetrics(java.lang.String value) {
       public Builder addAllMetrics(java.lang.Iterable values) {
         ensureMetricsIsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1048,8 +1038,9 @@ public Builder addAllMetrics(java.lang.Iterable values) {
        * @return This builder for chaining.
        */
       public Builder clearMetrics() {
-        metrics_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
         bitField0_ = (bitField0_ & ~0x00000002);
+        ;
         onChanged();
         return this;
       }
@@ -1074,6 +1065,7 @@ public Builder addMetricsBytes(com.google.protobuf.ByteString value) {
         checkByteStringIsUtf8(value);
         ensureMetricsIsMutable();
         metrics_.add(value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -1515,12 +1507,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * Monitoring configuration of the service.
+   *
    * The example below shows how to configure monitored resources and metrics
    * for monitoring. In the example, a monitored resource and two metrics are
    * defined. The `library.googleapis.com/book/returned_count` metric is sent
    * to both producer and consumer projects, whereas the
    * `library.googleapis.com/book/num_overdue` metric is only sent to the
    * consumer project.
+   *
    *     monitored_resources:
    *     - type: library.googleapis.com/Branch
    *       display_name: "Library Branch"
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 2bef3c0bf9..c21feeb515 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
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeSettings();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ClientProto.internal_static_google_api_NodeSettings_descriptor;
   }
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 be32817aa1..b216508b8a 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
@@ -26,13 +26,17 @@
  * there are scopes defined for "Read-only access to Google Calendar" and
  * "Access to Cloud Platform". Users can consent to a scope for an application,
  * giving it permission to access that data on their behalf.
+ *
  * OAuth scope specifications should be fairly coarse grained; a user will need
  * to see and understand the text description of what your scope means.
+ *
  * In most cases: use one or at most two OAuth scopes for an entire family of
  * products. If your product has multiple APIs, you should probably be sharing
  * the OAuth scope across all of those APIs.
+ *
  * When you need finer grained OAuth consent screens: talk with your product
  * management about how developers will use them in practice.
+ *
  * Please note that even though each of the canonical scopes is enough for a
  * request to be accepted and passed to the backend, a request can still fail
  * due to the backend requiring additional scopes or permissions.
@@ -60,11 +64,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthRequirements();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.AuthProto.internal_static_google_api_OAuthRequirements_descriptor;
   }
@@ -87,7 +86,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
    * The list of publicly documented OAuth scopes that are allowed access. An
    * OAuth token containing any of these scopes will be accepted.
+   *
    * Example:
+   *
    *      canonical_scopes: https://www.googleapis.com/auth/calendar,
    *                        https://www.googleapis.com/auth/calendar.read
    * 
@@ -114,7 +115,9 @@ public java.lang.String getCanonicalScopes() { *
    * The list of publicly documented OAuth scopes that are allowed access. An
    * OAuth token containing any of these scopes will be accepted.
+   *
    * Example:
+   *
    *      canonical_scopes: https://www.googleapis.com/auth/calendar,
    *                        https://www.googleapis.com/auth/calendar.read
    * 
@@ -301,13 +304,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * there are scopes defined for "Read-only access to Google Calendar" and * "Access to Cloud Platform". Users can consent to a scope for an application, * giving it permission to access that data on their behalf. + * * OAuth scope specifications should be fairly coarse grained; a user will need * to see and understand the text description of what your scope means. + * * In most cases: use one or at most two OAuth scopes for an entire family of * products. If your product has multiple APIs, you should probably be sharing * the OAuth scope across all of those APIs. + * * When you need finer grained OAuth consent screens: talk with your product * management about how developers will use them in practice. + * * Please note that even though each of the canonical scopes is enough for a * request to be accepted and passed to the backend, a request can still fail * due to the backend requiring additional scopes or permissions. @@ -492,7 +499,9 @@ public Builder mergeFrom( *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
+     *
      * Example:
+     *
      *      canonical_scopes: https://www.googleapis.com/auth/calendar,
      *                        https://www.googleapis.com/auth/calendar.read
      * 
@@ -518,7 +527,9 @@ public java.lang.String getCanonicalScopes() { *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
+     *
      * Example:
+     *
      *      canonical_scopes: https://www.googleapis.com/auth/calendar,
      *                        https://www.googleapis.com/auth/calendar.read
      * 
@@ -544,7 +555,9 @@ public com.google.protobuf.ByteString getCanonicalScopesBytes() { *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
+     *
      * Example:
+     *
      *      canonical_scopes: https://www.googleapis.com/auth/calendar,
      *                        https://www.googleapis.com/auth/calendar.read
      * 
@@ -569,7 +582,9 @@ public Builder setCanonicalScopes(java.lang.String value) { *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
+     *
      * Example:
+     *
      *      canonical_scopes: https://www.googleapis.com/auth/calendar,
      *                        https://www.googleapis.com/auth/calendar.read
      * 
@@ -590,7 +605,9 @@ public Builder clearCanonicalScopes() { *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
+     *
      * Example:
+     *
      *      canonical_scopes: https://www.googleapis.com/auth/calendar,
      *                        https://www.googleapis.com/auth/calendar.read
      * 
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 27a92e367e..7415ca3162 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 @@ -29,7 +29,9 @@ public interface OAuthRequirementsOrBuilder *
    * The list of publicly documented OAuth scopes that are allowed access. An
    * OAuth token containing any of these scopes will be accepted.
+   *
    * Example:
+   *
    *      canonical_scopes: https://www.googleapis.com/auth/calendar,
    *                        https://www.googleapis.com/auth/calendar.read
    * 
@@ -45,7 +47,9 @@ public interface OAuthRequirementsOrBuilder *
    * The list of publicly documented OAuth scopes that are allowed access. An
    * OAuth token containing any of these scopes will be accepted.
+   *
    * Example:
+   *
    *      canonical_scopes: https://www.googleapis.com/auth/calendar,
    *                        https://www.googleapis.com/auth/calendar.read
    * 
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 4b65ff2c48..495af6988f 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 @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Page(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DocumentationProto.internal_static_google_api_Page_descriptor; } 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 1dea477ba1..34e6ad948d 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 @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PhpSettings(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_PhpSettings_descriptor; } 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 977f71fc47..0d8c669193 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 @@ -28,7 +28,9 @@ * associated with a school, or a business, or a government agency, a business * type property on the project may affect how a service responds to the client. * This descriptor defines which properties are allowed to be set on a project. + * * Example: + * * project_properties: * properties: * - name: NO_WATERMARK @@ -60,11 +62,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectProperties(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ConsumerProto.internal_static_google_api_ProjectProperties_descriptor; } @@ -317,7 +314,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * associated with a school, or a business, or a government agency, a business * type property on the project may affect how a service responds to the client. * This descriptor defines which properties are allowed to be set on a project. + * * Example: + * * project_properties: * properties: * - name: NO_WATERMARK 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 9a84766c27..404b8c05f6 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 @@ -23,11 +23,13 @@ * *
  * Defines project properties.
+ *
  * API services can define properties that can be assigned to consumer projects
  * so that backends can perform response customization without having to make
  * additional calls or maintain additional storage. For example, Maps API
  * defines properties that controls map tile cache period, or whether to embed a
  * watermark in a result.
+ *
  * These values can be set via API producer console. Only API providers can
  * define and set these properties.
  * 
@@ -56,11 +58,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Property(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ConsumerProto.internal_static_google_api_Property_descriptor; } @@ -591,11 +588,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Defines project properties.
+   *
    * API services can define properties that can be assigned to consumer projects
    * so that backends can perform response customization without having to make
    * additional calls or maintain additional storage. For example, Maps API
    * defines properties that controls map tile cache period, or whether to embed a
    * watermark in a result.
+   *
    * These values can be set via API producer console. Only API providers can
    * define and set these properties.
    * 
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 93bc20d91e..50dc04a8e4 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 @@ -45,7 +45,7 @@ private Publishing() { documentationUri_ = ""; apiShortName_ = ""; githubLabel_ = ""; - codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.emptyList(); docTagPrefix_ = ""; organization_ = 0; librarySettings_ = java.util.Collections.emptyList(); @@ -58,11 +58,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Publishing(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_Publishing_descriptor; } @@ -366,7 +361,8 @@ public com.google.protobuf.ByteString getGithubLabelBytes() { public static final int CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER = 105; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList codeownerGithubTeams_; + private com.google.protobuf.LazyStringArrayList codeownerGithubTeams_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -960,8 +956,7 @@ public Builder clear() { documentationUri_ = ""; apiShortName_ = ""; githubLabel_ = ""; - codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.emptyList(); docTagPrefix_ = ""; organization_ = 0; if (librarySettingsBuilder_ == null) { @@ -1015,11 +1010,6 @@ private void buildPartialRepeatedFields(com.google.api.Publishing result) { } else { result.methodSettings_ = methodSettingsBuilder_.build(); } - if (((bitField0_ & 0x00000020) != 0)) { - codeownerGithubTeams_ = codeownerGithubTeams_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.codeownerGithubTeams_ = codeownerGithubTeams_; if (librarySettingsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { librarySettings_ = java.util.Collections.unmodifiableList(librarySettings_); @@ -1045,6 +1035,10 @@ private void buildPartial0(com.google.api.Publishing result) { if (((from_bitField0_ & 0x00000010) != 0)) { result.githubLabel_ = githubLabel_; } + if (((from_bitField0_ & 0x00000020) != 0)) { + codeownerGithubTeams_.makeImmutable(); + result.codeownerGithubTeams_ = codeownerGithubTeams_; + } if (((from_bitField0_ & 0x00000040) != 0)) { result.docTagPrefix_ = docTagPrefix_; } @@ -1151,7 +1145,7 @@ public Builder mergeFrom(com.google.api.Publishing other) { if (!other.codeownerGithubTeams_.isEmpty()) { if (codeownerGithubTeams_.isEmpty()) { codeownerGithubTeams_ = other.codeownerGithubTeams_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ |= 0x00000020; } else { ensureCodeownerGithubTeamsIsMutable(); codeownerGithubTeams_.addAll(other.codeownerGithubTeams_); @@ -2130,14 +2124,14 @@ public Builder setGithubLabelBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList codeownerGithubTeams_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList codeownerGithubTeams_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureCodeownerGithubTeamsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!codeownerGithubTeams_.isModifiable()) { codeownerGithubTeams_ = new com.google.protobuf.LazyStringArrayList(codeownerGithubTeams_); - bitField0_ |= 0x00000020; } + bitField0_ |= 0x00000020; } /** * @@ -2152,7 +2146,8 @@ private void ensureCodeownerGithubTeamsIsMutable() { * @return A list containing the codeownerGithubTeams. */ public com.google.protobuf.ProtocolStringList getCodeownerGithubTeamsList() { - return codeownerGithubTeams_.getUnmodifiableView(); + codeownerGithubTeams_.makeImmutable(); + return codeownerGithubTeams_; } /** * @@ -2221,6 +2216,7 @@ public Builder setCodeownerGithubTeams(int index, java.lang.String value) { } ensureCodeownerGithubTeamsIsMutable(); codeownerGithubTeams_.set(index, value); + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2243,6 +2239,7 @@ public Builder addCodeownerGithubTeams(java.lang.String value) { } ensureCodeownerGithubTeamsIsMutable(); codeownerGithubTeams_.add(value); + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2262,6 +2259,7 @@ public Builder addCodeownerGithubTeams(java.lang.String value) { public Builder addAllCodeownerGithubTeams(java.lang.Iterable values) { ensureCodeownerGithubTeamsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, codeownerGithubTeams_); + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2278,8 +2276,9 @@ public Builder addAllCodeownerGithubTeams(java.lang.Iterable v * @return This builder for chaining. */ public Builder clearCodeownerGithubTeams() { - codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } @@ -2303,6 +2302,7 @@ public Builder addCodeownerGithubTeamsBytes(com.google.protobuf.ByteString value checkByteStringIsUtf8(value); ensureCodeownerGithubTeamsIsMutable(); codeownerGithubTeams_.add(value); + bitField0_ |= 0x00000020; onChanged(); return this; } 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 fc9d3c3bda..f658940d62 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 @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PythonSettings(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_PythonSettings_descriptor; } 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 7371ab54f7..5d2263e4d2 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 @@ -24,20 +24,26 @@ *
  * Quota configuration helps to achieve fairness and budgeting in service
  * usage.
+ *
  * The metric based quota configuration works this way:
  * - The service configuration defines a set of metrics.
  * - For API calls, the quota.metric_rules maps methods to metrics with
  *   corresponding costs.
  * - The quota.limits defines limits on the metrics, which will be used for
  *   quota checks at runtime.
+ *
  * An example quota configuration in yaml format:
+ *
  *    quota:
  *      limits:
+ *
  *      - name: apiWriteQpsPerProject
  *        metric: library.googleapis.com/write_calls
  *        unit: "1/min/{project}"  # rate limit for consumer projects
  *        values:
  *          STANDARD: 10000
+ *
+ *
  *      (The metric rules bind all methods to the read_calls metric,
  *       except for the UpdateBook and DeleteBook methods. These two methods
  *       are mapped to the write_calls metric, with the UpdateBook method
@@ -52,12 +58,15 @@
  *      - selector: google.example.library.v1.LibraryService.DeleteBook
  *        metric_costs:
  *          library.googleapis.com/write_calls: 1
+ *
  *  Corresponding Metric definition:
+ *
  *      metrics:
  *      - name: library.googleapis.com/read_calls
  *        display_name: Read requests
  *        metric_kind: DELTA
  *        value_type: INT64
+ *
  *      - name: library.googleapis.com/write_calls
  *        display_name: Write requests
  *        metric_kind: DELTA
@@ -87,11 +96,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Quota();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.QuotaProto.internal_static_google_api_Quota_descriptor;
   }
@@ -426,20 +430,26 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * 
    * Quota configuration helps to achieve fairness and budgeting in service
    * usage.
+   *
    * The metric based quota configuration works this way:
    * - The service configuration defines a set of metrics.
    * - For API calls, the quota.metric_rules maps methods to metrics with
    *   corresponding costs.
    * - The quota.limits defines limits on the metrics, which will be used for
    *   quota checks at runtime.
+   *
    * An example quota configuration in yaml format:
+   *
    *    quota:
    *      limits:
+   *
    *      - name: apiWriteQpsPerProject
    *        metric: library.googleapis.com/write_calls
    *        unit: "1/min/{project}"  # rate limit for consumer projects
    *        values:
    *          STANDARD: 10000
+   *
+   *
    *      (The metric rules bind all methods to the read_calls metric,
    *       except for the UpdateBook and DeleteBook methods. These two methods
    *       are mapped to the write_calls metric, with the UpdateBook method
@@ -454,12 +464,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *      - selector: google.example.library.v1.LibraryService.DeleteBook
    *        metric_costs:
    *          library.googleapis.com/write_calls: 1
+   *
    *  Corresponding Metric definition:
+   *
    *      metrics:
    *      - name: library.googleapis.com/read_calls
    *        display_name: Read requests
    *        metric_kind: DELTA
    *        value_type: INT64
+   *
    *      - name: library.googleapis.com/write_calls
    *        display_name: Write requests
    *        metric_kind: DELTA
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 add2026b1f..52dbb2e8e9 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
@@ -54,11 +54,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new QuotaLimit();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_descriptor;
   }
@@ -91,8 +86,10 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * 
    * Name of the quota limit.
+   *
    * The name must be provided, and it must be unique within the service. The
    * name can only include alphanumeric characters as well as '-'.
+   *
    * The maximum length of the limit name is 64 characters.
    * 
* @@ -117,8 +114,10 @@ public java.lang.String getName() { * *
    * Name of the quota limit.
+   *
    * The name must be provided, and it must be unique within the service. The
    * name can only include alphanumeric characters as well as '-'.
+   *
    * The maximum length of the limit name is 64 characters.
    * 
* @@ -203,10 +202,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * Default number of tokens that can be consumed during the specified * duration. This is the number of tokens assigned when a client * application developer activates the service for his/her project. + * * Specifying a value of 0 will block all requests. This can be used if you * are provisioning quota to selected consumers and blocking others. * Similarly, a value of -1 will indicate an unlimited quota. No other * negative values are allowed. + * * Used by group-based quotas only. *
* @@ -229,8 +230,10 @@ public long getDefaultLimit() { * duration. Client application developers can override the default limit up * to this maximum. If specified, this value cannot be set to a value less * than the default limit. If not specified, it is set to the default limit. + * * To allow clients to apply overrides with no upper bound, set this to -1, * indicating unlimited maximum quota. + * * Used by group-based quotas only. *
* @@ -255,6 +258,7 @@ public long getMaxLimit() { * This field can only be set on a limit with duration "1d", in a billable * group; it is invalid on any other limit. If this field is not set, it * defaults to 0, indicating that there is no free tier for this service. + * * Used by group-based quotas only. *
* @@ -276,6 +280,7 @@ public long getFreeTier() { * *
    * Duration of this limit in textual notation. Must be "100s" or "1d".
+   *
    * Used by group-based quotas only.
    * 
* @@ -300,6 +305,7 @@ public java.lang.String getDuration() { * *
    * Duration of this limit in textual notation. Must be "100s" or "1d".
+   *
    * Used by group-based quotas only.
    * 
* @@ -386,8 +392,10 @@ public com.google.protobuf.ByteString getMetricBytes() { * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
@@ -415,8 +423,10 @@ public java.lang.String getUnit() { * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
@@ -1185,8 +1195,10 @@ public Builder mergeFrom( * *
      * Name of the quota limit.
+     *
      * The name must be provided, and it must be unique within the service. The
      * name can only include alphanumeric characters as well as '-'.
+     *
      * The maximum length of the limit name is 64 characters.
      * 
* @@ -1210,8 +1222,10 @@ public java.lang.String getName() { * *
      * Name of the quota limit.
+     *
      * The name must be provided, and it must be unique within the service. The
      * name can only include alphanumeric characters as well as '-'.
+     *
      * The maximum length of the limit name is 64 characters.
      * 
* @@ -1235,8 +1249,10 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Name of the quota limit.
+     *
      * The name must be provided, and it must be unique within the service. The
      * name can only include alphanumeric characters as well as '-'.
+     *
      * The maximum length of the limit name is 64 characters.
      * 
* @@ -1259,8 +1275,10 @@ public Builder setName(java.lang.String value) { * *
      * Name of the quota limit.
+     *
      * The name must be provided, and it must be unique within the service. The
      * name can only include alphanumeric characters as well as '-'.
+     *
      * The maximum length of the limit name is 64 characters.
      * 
* @@ -1279,8 +1297,10 @@ public Builder clearName() { * *
      * Name of the quota limit.
+     *
      * The name must be provided, and it must be unique within the service. The
      * name can only include alphanumeric characters as well as '-'.
+     *
      * The maximum length of the limit name is 64 characters.
      * 
* @@ -1424,10 +1444,12 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * Default number of tokens that can be consumed during the specified * duration. This is the number of tokens assigned when a client * application developer activates the service for his/her project. + * * Specifying a value of 0 will block all requests. This can be used if you * are provisioning quota to selected consumers and blocking others. * Similarly, a value of -1 will indicate an unlimited quota. No other * negative values are allowed. + * * Used by group-based quotas only. *
* @@ -1446,10 +1468,12 @@ public long getDefaultLimit() { * Default number of tokens that can be consumed during the specified * duration. This is the number of tokens assigned when a client * application developer activates the service for his/her project. + * * Specifying a value of 0 will block all requests. This can be used if you * are provisioning quota to selected consumers and blocking others. * Similarly, a value of -1 will indicate an unlimited quota. No other * negative values are allowed. + * * Used by group-based quotas only. *
* @@ -1472,10 +1496,12 @@ public Builder setDefaultLimit(long value) { * Default number of tokens that can be consumed during the specified * duration. This is the number of tokens assigned when a client * application developer activates the service for his/her project. + * * Specifying a value of 0 will block all requests. This can be used if you * are provisioning quota to selected consumers and blocking others. * Similarly, a value of -1 will indicate an unlimited quota. No other * negative values are allowed. + * * Used by group-based quotas only. *
* @@ -1499,8 +1525,10 @@ public Builder clearDefaultLimit() { * duration. Client application developers can override the default limit up * to this maximum. If specified, this value cannot be set to a value less * than the default limit. If not specified, it is set to the default limit. + * * To allow clients to apply overrides with no upper bound, set this to -1, * indicating unlimited maximum quota. + * * Used by group-based quotas only. *
* @@ -1520,8 +1548,10 @@ public long getMaxLimit() { * duration. Client application developers can override the default limit up * to this maximum. If specified, this value cannot be set to a value less * than the default limit. If not specified, it is set to the default limit. + * * To allow clients to apply overrides with no upper bound, set this to -1, * indicating unlimited maximum quota. + * * Used by group-based quotas only. *
* @@ -1545,8 +1575,10 @@ public Builder setMaxLimit(long value) { * duration. Client application developers can override the default limit up * to this maximum. If specified, this value cannot be set to a value less * than the default limit. If not specified, it is set to the default limit. + * * To allow clients to apply overrides with no upper bound, set this to -1, * indicating unlimited maximum quota. + * * Used by group-based quotas only. *
* @@ -1572,6 +1604,7 @@ public Builder clearMaxLimit() { * This field can only be set on a limit with duration "1d", in a billable * group; it is invalid on any other limit. If this field is not set, it * defaults to 0, indicating that there is no free tier for this service. + * * Used by group-based quotas only. *
* @@ -1593,6 +1626,7 @@ public long getFreeTier() { * This field can only be set on a limit with duration "1d", in a billable * group; it is invalid on any other limit. If this field is not set, it * defaults to 0, indicating that there is no free tier for this service. + * * Used by group-based quotas only. *
* @@ -1618,6 +1652,7 @@ public Builder setFreeTier(long value) { * This field can only be set on a limit with duration "1d", in a billable * group; it is invalid on any other limit. If this field is not set, it * defaults to 0, indicating that there is no free tier for this service. + * * Used by group-based quotas only. *
* @@ -1638,6 +1673,7 @@ public Builder clearFreeTier() { * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
+     *
      * Used by group-based quotas only.
      * 
* @@ -1661,6 +1697,7 @@ public java.lang.String getDuration() { * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
+     *
      * Used by group-based quotas only.
      * 
* @@ -1684,6 +1721,7 @@ public com.google.protobuf.ByteString getDurationBytes() { * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
+     *
      * Used by group-based quotas only.
      * 
* @@ -1706,6 +1744,7 @@ public Builder setDuration(java.lang.String value) { * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
+     *
      * Used by group-based quotas only.
      * 
* @@ -1724,6 +1763,7 @@ public Builder clearDuration() { * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
+     *
      * Used by group-based quotas only.
      * 
* @@ -1867,8 +1907,10 @@ public Builder setMetricBytes(com.google.protobuf.ByteString value) { * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
@@ -1895,8 +1937,10 @@ public java.lang.String getUnit() { * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
@@ -1923,8 +1967,10 @@ public com.google.protobuf.ByteString getUnitBytes() { * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
@@ -1950,8 +1996,10 @@ public Builder setUnit(java.lang.String value) { * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
@@ -1973,8 +2021,10 @@ public Builder clearUnit() { * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
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 5f0a4d43db..5a11650910 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 @@ -28,8 +28,10 @@ public interface QuotaLimitOrBuilder * *
    * Name of the quota limit.
+   *
    * The name must be provided, and it must be unique within the service. The
    * name can only include alphanumeric characters as well as '-'.
+   *
    * The maximum length of the limit name is 64 characters.
    * 
* @@ -43,8 +45,10 @@ public interface QuotaLimitOrBuilder * *
    * Name of the quota limit.
+   *
    * The name must be provided, and it must be unique within the service. The
    * name can only include alphanumeric characters as well as '-'.
+   *
    * The maximum length of the limit name is 64 characters.
    * 
* @@ -90,10 +94,12 @@ public interface QuotaLimitOrBuilder * Default number of tokens that can be consumed during the specified * duration. This is the number of tokens assigned when a client * application developer activates the service for his/her project. + * * Specifying a value of 0 will block all requests. This can be used if you * are provisioning quota to selected consumers and blocking others. * Similarly, a value of -1 will indicate an unlimited quota. No other * negative values are allowed. + * * Used by group-based quotas only. *
* @@ -111,8 +117,10 @@ public interface QuotaLimitOrBuilder * duration. Client application developers can override the default limit up * to this maximum. If specified, this value cannot be set to a value less * than the default limit. If not specified, it is set to the default limit. + * * To allow clients to apply overrides with no upper bound, set this to -1, * indicating unlimited maximum quota. + * * Used by group-based quotas only. *
* @@ -132,6 +140,7 @@ public interface QuotaLimitOrBuilder * This field can only be set on a limit with duration "1d", in a billable * group; it is invalid on any other limit. If this field is not set, it * defaults to 0, indicating that there is no free tier for this service. + * * Used by group-based quotas only. *
* @@ -146,6 +155,7 @@ public interface QuotaLimitOrBuilder * *
    * Duration of this limit in textual notation. Must be "100s" or "1d".
+   *
    * Used by group-based quotas only.
    * 
* @@ -159,6 +169,7 @@ public interface QuotaLimitOrBuilder * *
    * Duration of this limit in textual notation. Must be "100s" or "1d".
+   *
    * Used by group-based quotas only.
    * 
* @@ -204,8 +215,10 @@ public interface QuotaLimitOrBuilder * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
@@ -222,8 +235,10 @@ public interface QuotaLimitOrBuilder * Specify the unit of the quota limit. It uses the same syntax as * [Metric.unit][]. The supported unit kinds are determined by the quota * backend system. + * * Here are some examples: * * "1/min/{project}" for quota per minute per project. + * * Note: the order of unit components is insignificant. * The "1" at the beginning is required to follow the metric unit syntax. *
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 253ab1fda8..c8e2e3d48f 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 @@ -23,10 +23,13 @@ * *
  * A simple descriptor of a resource type.
+ *
  * ResourceDescriptor annotates a resource message (either by means of a
  * protobuf annotation or use in the service config), and associates the
  * resource's schema, the resource type, and the pattern of the resource name.
+ *
  * Example:
+ *
  *     message Topic {
  *       // Indicates this message defines a resource schema.
  *       // Declares the resource type in the format of {service}/{kind}.
@@ -36,13 +39,18 @@
  *         pattern: "projects/{project}/topics/{topic}"
  *       };
  *     }
+ *
  * The ResourceDescriptor Yaml config will look like:
+ *
  *     resources:
  *     - type: "pubsub.googleapis.com/Topic"
  *       pattern: "projects/{project}/topics/{topic}"
+ *
  * Sometimes, resources have multiple patterns, typically because they can
  * live under multiple parents.
+ *
  * Example:
+ *
  *     message LogEntry {
  *       option (google.api.resource) = {
  *         type: "logging.googleapis.com/LogEntry"
@@ -52,7 +60,9 @@
  *         pattern: "billingAccounts/{billing_account}/logs/{log}"
  *       };
  *     }
+ *
  * The ResourceDescriptor Yaml config will look like:
+ *
  *     resources:
  *     - type: 'logging.googleapis.com/LogEntry'
  *       pattern: "projects/{project}/logs/{log}"
@@ -75,7 +85,7 @@ private ResourceDescriptor(com.google.protobuf.GeneratedMessageV3.Builder bui
 
   private ResourceDescriptor() {
     type_ = "";
-    pattern_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    pattern_ = com.google.protobuf.LazyStringArrayList.emptyList();
     nameField_ = "";
     history_ = 0;
     plural_ = "";
@@ -89,11 +99,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResourceDescriptor();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ResourceProto.internal_static_google_api_ResourceDescriptor_descriptor;
   }
@@ -297,9 +302,11 @@ public enum Style implements com.google.protobuf.ProtocolMessageEnum {
      *
      * 
      * This resource is intended to be "declarative-friendly".
+     *
      * Declarative-friendly resources must be more strictly consistent, and
      * setting this to true communicates to tools that this resource should
      * adhere to declarative-friendly expectations.
+     *
      * Note: This is used by the API linter (linter.aip.dev) to enable
      * additional checks.
      * 
@@ -325,9 +332,11 @@ public enum Style implements com.google.protobuf.ProtocolMessageEnum { * *
      * This resource is intended to be "declarative-friendly".
+     *
      * Declarative-friendly resources must be more strictly consistent, and
      * setting this to true communicates to tools that this resource should
      * adhere to declarative-friendly expectations.
+     *
      * Note: This is used by the API linter (linter.aip.dev) to enable
      * additional checks.
      * 
@@ -428,7 +437,9 @@ private Style(int value) { * The resource type. It must be in the format of * {service_name}/{resource_type_kind}. The `resource_type_kind` must be * singular and must not include version numbers. + * * Example: `storage.googleapis.com/Bucket` + * * The value of the resource_type_kind must follow the regular expression * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and * should use PascalCase (UpperCamelCase). The maximum number of @@ -458,7 +469,9 @@ public java.lang.String getType() { * The resource type. It must be in the format of * {service_name}/{resource_type_kind}. The `resource_type_kind` must be * singular and must not include version numbers. + * * Example: `storage.googleapis.com/Bucket` + * * The value of the resource_type_kind must follow the regular expression * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and * should use PascalCase (UpperCamelCase). The maximum number of @@ -485,21 +498,27 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int PATTERN_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList pattern_; + private com.google.protobuf.LazyStringArrayList pattern_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
    * Optional. The relative resource name pattern associated with this resource
    * type. The DNS prefix of the full resource name shouldn't be specified here.
+   *
    * The path pattern must follow the syntax, which aligns with HTTP binding
    * syntax:
+   *
    *     Template = Segment { "/" Segment } ;
    *     Segment = LITERAL | Variable ;
    *     Variable = "{" LITERAL "}" ;
+   *
    * Examples:
+   *
    *     - "projects/{project}/topics/{topic}"
    *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+   *
    * The components in braces correspond to the IDs for each resource in the
    * hierarchy. It is expected that, if multiple patterns are provided,
    * the same component name (e.g. "project") refers to IDs of the same
@@ -519,14 +538,19 @@ public com.google.protobuf.ProtocolStringList getPatternList() {
    * 
    * Optional. The relative resource name pattern associated with this resource
    * type. The DNS prefix of the full resource name shouldn't be specified here.
+   *
    * The path pattern must follow the syntax, which aligns with HTTP binding
    * syntax:
+   *
    *     Template = Segment { "/" Segment } ;
    *     Segment = LITERAL | Variable ;
    *     Variable = "{" LITERAL "}" ;
+   *
    * Examples:
+   *
    *     - "projects/{project}/topics/{topic}"
    *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+   *
    * The components in braces correspond to the IDs for each resource in the
    * hierarchy. It is expected that, if multiple patterns are provided,
    * the same component name (e.g. "project") refers to IDs of the same
@@ -546,14 +570,19 @@ public int getPatternCount() {
    * 
    * Optional. The relative resource name pattern associated with this resource
    * type. The DNS prefix of the full resource name shouldn't be specified here.
+   *
    * The path pattern must follow the syntax, which aligns with HTTP binding
    * syntax:
+   *
    *     Template = Segment { "/" Segment } ;
    *     Segment = LITERAL | Variable ;
    *     Variable = "{" LITERAL "}" ;
+   *
    * Examples:
+   *
    *     - "projects/{project}/topics/{topic}"
    *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+   *
    * The components in braces correspond to the IDs for each resource in the
    * hierarchy. It is expected that, if multiple patterns are provided,
    * the same component name (e.g. "project") refers to IDs of the same
@@ -574,14 +603,19 @@ public java.lang.String getPattern(int index) {
    * 
    * Optional. The relative resource name pattern associated with this resource
    * type. The DNS prefix of the full resource name shouldn't be specified here.
+   *
    * The path pattern must follow the syntax, which aligns with HTTP binding
    * syntax:
+   *
    *     Template = Segment { "/" Segment } ;
    *     Segment = LITERAL | Variable ;
    *     Variable = "{" LITERAL "}" ;
+   *
    * Examples:
+   *
    *     - "projects/{project}/topics/{topic}"
    *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+   *
    * The components in braces correspond to the IDs for each resource in the
    * hierarchy. It is expected that, if multiple patterns are provided,
    * the same component name (e.g. "project") refers to IDs of the same
@@ -657,7 +691,9 @@ public com.google.protobuf.ByteString getNameFieldBytes() {
    *
    * 
    * Optional. The historical or future-looking state of the resource pattern.
+   *
    * Example:
+   *
    *     // The InspectTemplate message originally only supported resource
    *     // names with organization, and project was added later.
    *     message InspectTemplate {
@@ -684,7 +720,9 @@ public int getHistoryValue() {
    *
    * 
    * Optional. The historical or future-looking state of the resource pattern.
+   *
    * Example:
+   *
    *     // The InspectTemplate message originally only supported resource
    *     // names with organization, and project was added later.
    *     message InspectTemplate {
@@ -722,6 +760,7 @@ public com.google.api.ResourceDescriptor.History getHistory() {
    * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
    * concept of the `plural` field in k8s CRD spec
    * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
+   *
    * Note: The plural form is required even for singleton resources. See
    * https://aip.dev/156
    * 
@@ -751,6 +790,7 @@ public java.lang.String getPlural() { * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same * concept of the `plural` field in k8s CRD spec * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ + * * Note: The plural form is required even for singleton resources. See * https://aip.dev/156 *
@@ -1173,10 +1213,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * A simple descriptor of a resource type.
+   *
    * ResourceDescriptor annotates a resource message (either by means of a
    * protobuf annotation or use in the service config), and associates the
    * resource's schema, the resource type, and the pattern of the resource name.
+   *
    * Example:
+   *
    *     message Topic {
    *       // Indicates this message defines a resource schema.
    *       // Declares the resource type in the format of {service}/{kind}.
@@ -1186,13 +1229,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *         pattern: "projects/{project}/topics/{topic}"
    *       };
    *     }
+   *
    * The ResourceDescriptor Yaml config will look like:
+   *
    *     resources:
    *     - type: "pubsub.googleapis.com/Topic"
    *       pattern: "projects/{project}/topics/{topic}"
+   *
    * Sometimes, resources have multiple patterns, typically because they can
    * live under multiple parents.
+   *
    * Example:
+   *
    *     message LogEntry {
    *       option (google.api.resource) = {
    *         type: "logging.googleapis.com/LogEntry"
@@ -1202,7 +1250,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *         pattern: "billingAccounts/{billing_account}/logs/{log}"
    *       };
    *     }
+   *
    * The ResourceDescriptor Yaml config will look like:
+   *
    *     resources:
    *     - type: 'logging.googleapis.com/LogEntry'
    *       pattern: "projects/{project}/logs/{log}"
@@ -1243,8 +1293,7 @@ public Builder clear() {
       super.clear();
       bitField0_ = 0;
       type_ = "";
-      pattern_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000002);
+      pattern_ = com.google.protobuf.LazyStringArrayList.emptyList();
       nameField_ = "";
       history_ = 0;
       plural_ = "";
@@ -1285,11 +1334,6 @@ public com.google.api.ResourceDescriptor buildPartial() {
     }
 
     private void buildPartialRepeatedFields(com.google.api.ResourceDescriptor result) {
-      if (((bitField0_ & 0x00000002) != 0)) {
-        pattern_ = pattern_.getUnmodifiableView();
-        bitField0_ = (bitField0_ & ~0x00000002);
-      }
-      result.pattern_ = pattern_;
       if (((bitField0_ & 0x00000040) != 0)) {
         style_ = java.util.Collections.unmodifiableList(style_);
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -1302,6 +1346,10 @@ private void buildPartial0(com.google.api.ResourceDescriptor result) {
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.type_ = type_;
       }
+      if (((from_bitField0_ & 0x00000002) != 0)) {
+        pattern_.makeImmutable();
+        result.pattern_ = pattern_;
+      }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nameField_ = nameField_;
       }
@@ -1369,7 +1417,7 @@ public Builder mergeFrom(com.google.api.ResourceDescriptor other) {
       if (!other.pattern_.isEmpty()) {
         if (pattern_.isEmpty()) {
           pattern_ = other.pattern_;
-          bitField0_ = (bitField0_ & ~0x00000002);
+          bitField0_ |= 0x00000002;
         } else {
           ensurePatternIsMutable();
           pattern_.addAll(other.pattern_);
@@ -1513,7 +1561,9 @@ public Builder mergeFrom(
      * The resource type. It must be in the format of
      * {service_name}/{resource_type_kind}. The `resource_type_kind` must be
      * singular and must not include version numbers.
+     *
      * Example: `storage.googleapis.com/Bucket`
+     *
      * The value of the resource_type_kind must follow the regular expression
      * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
      * should use PascalCase (UpperCamelCase). The maximum number of
@@ -1542,7 +1592,9 @@ public java.lang.String getType() {
      * The resource type. It must be in the format of
      * {service_name}/{resource_type_kind}. The `resource_type_kind` must be
      * singular and must not include version numbers.
+     *
      * Example: `storage.googleapis.com/Bucket`
+     *
      * The value of the resource_type_kind must follow the regular expression
      * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
      * should use PascalCase (UpperCamelCase). The maximum number of
@@ -1571,7 +1623,9 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * The resource type. It must be in the format of
      * {service_name}/{resource_type_kind}. The `resource_type_kind` must be
      * singular and must not include version numbers.
+     *
      * Example: `storage.googleapis.com/Bucket`
+     *
      * The value of the resource_type_kind must follow the regular expression
      * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
      * should use PascalCase (UpperCamelCase). The maximum number of
@@ -1599,7 +1653,9 @@ public Builder setType(java.lang.String value) {
      * The resource type. It must be in the format of
      * {service_name}/{resource_type_kind}. The `resource_type_kind` must be
      * singular and must not include version numbers.
+     *
      * Example: `storage.googleapis.com/Bucket`
+     *
      * The value of the resource_type_kind must follow the regular expression
      * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
      * should use PascalCase (UpperCamelCase). The maximum number of
@@ -1623,7 +1679,9 @@ public Builder clearType() {
      * The resource type. It must be in the format of
      * {service_name}/{resource_type_kind}. The `resource_type_kind` must be
      * singular and must not include version numbers.
+     *
      * Example: `storage.googleapis.com/Bucket`
+     *
      * The value of the resource_type_kind must follow the regular expression
      * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
      * should use PascalCase (UpperCamelCase). The maximum number of
@@ -1646,14 +1704,14 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    private com.google.protobuf.LazyStringList pattern_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList pattern_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensurePatternIsMutable() {
-      if (!((bitField0_ & 0x00000002) != 0)) {
+      if (!pattern_.isModifiable()) {
         pattern_ = new com.google.protobuf.LazyStringArrayList(pattern_);
-        bitField0_ |= 0x00000002;
       }
+      bitField0_ |= 0x00000002;
     }
     /**
      *
@@ -1661,14 +1719,19 @@ private void ensurePatternIsMutable() {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1680,7 +1743,8 @@ private void ensurePatternIsMutable() {
      * @return A list containing the pattern.
      */
     public com.google.protobuf.ProtocolStringList getPatternList() {
-      return pattern_.getUnmodifiableView();
+      pattern_.makeImmutable();
+      return pattern_;
     }
     /**
      *
@@ -1688,14 +1752,19 @@ public com.google.protobuf.ProtocolStringList getPatternList() {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1715,14 +1784,19 @@ public int getPatternCount() {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1743,14 +1817,19 @@ public java.lang.String getPattern(int index) {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1771,14 +1850,19 @@ public com.google.protobuf.ByteString getPatternBytes(int index) {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1797,6 +1881,7 @@ public Builder setPattern(int index, java.lang.String value) {
       }
       ensurePatternIsMutable();
       pattern_.set(index, value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1806,14 +1891,19 @@ public Builder setPattern(int index, java.lang.String value) {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1831,6 +1921,7 @@ public Builder addPattern(java.lang.String value) {
       }
       ensurePatternIsMutable();
       pattern_.add(value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1840,14 +1931,19 @@ public Builder addPattern(java.lang.String value) {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1862,6 +1958,7 @@ public Builder addPattern(java.lang.String value) {
     public Builder addAllPattern(java.lang.Iterable values) {
       ensurePatternIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pattern_);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1871,14 +1968,19 @@ public Builder addAllPattern(java.lang.Iterable values) {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1890,8 +1992,9 @@ public Builder addAllPattern(java.lang.Iterable values) {
      * @return This builder for chaining.
      */
     public Builder clearPattern() {
-      pattern_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      pattern_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000002);
+      ;
       onChanged();
       return this;
     }
@@ -1901,14 +2004,19 @@ public Builder clearPattern() {
      * 
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
+     *
      * The path pattern must follow the syntax, which aligns with HTTP binding
      * syntax:
+     *
      *     Template = Segment { "/" Segment } ;
      *     Segment = LITERAL | Variable ;
      *     Variable = "{" LITERAL "}" ;
+     *
      * Examples:
+     *
      *     - "projects/{project}/topics/{topic}"
      *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+     *
      * The components in braces correspond to the IDs for each resource in the
      * hierarchy. It is expected that, if multiple patterns are provided,
      * the same component name (e.g. "project") refers to IDs of the same
@@ -1927,6 +2035,7 @@ public Builder addPatternBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensurePatternIsMutable();
       pattern_.add(value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -2048,7 +2157,9 @@ public Builder setNameFieldBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * Optional. The historical or future-looking state of the resource pattern.
+     *
      * Example:
+     *
      *     // The InspectTemplate message originally only supported resource
      *     // names with organization, and project was added later.
      *     message InspectTemplate {
@@ -2075,7 +2186,9 @@ public int getHistoryValue() {
      *
      * 
      * Optional. The historical or future-looking state of the resource pattern.
+     *
      * Example:
+     *
      *     // The InspectTemplate message originally only supported resource
      *     // names with organization, and project was added later.
      *     message InspectTemplate {
@@ -2105,7 +2218,9 @@ public Builder setHistoryValue(int value) {
      *
      * 
      * Optional. The historical or future-looking state of the resource pattern.
+     *
      * Example:
+     *
      *     // The InspectTemplate message originally only supported resource
      *     // names with organization, and project was added later.
      *     message InspectTemplate {
@@ -2134,7 +2249,9 @@ public com.google.api.ResourceDescriptor.History getHistory() {
      *
      * 
      * Optional. The historical or future-looking state of the resource pattern.
+     *
      * Example:
+     *
      *     // The InspectTemplate message originally only supported resource
      *     // names with organization, and project was added later.
      *     message InspectTemplate {
@@ -2167,7 +2284,9 @@ public Builder setHistory(com.google.api.ResourceDescriptor.History value) {
      *
      * 
      * Optional. The historical or future-looking state of the resource pattern.
+     *
      * Example:
+     *
      *     // The InspectTemplate message originally only supported resource
      *     // names with organization, and project was added later.
      *     message InspectTemplate {
@@ -2202,6 +2321,7 @@ public Builder clearHistory() {
      * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
      * concept of the `plural` field in k8s CRD spec
      * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
+     *
      * Note: The plural form is required even for singleton resources. See
      * https://aip.dev/156
      * 
@@ -2230,6 +2350,7 @@ public java.lang.String getPlural() { * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same * concept of the `plural` field in k8s CRD spec * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ + * * Note: The plural form is required even for singleton resources. See * https://aip.dev/156 *
@@ -2258,6 +2379,7 @@ public com.google.protobuf.ByteString getPluralBytes() { * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same * concept of the `plural` field in k8s CRD spec * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ + * * Note: The plural form is required even for singleton resources. See * https://aip.dev/156 *
@@ -2285,6 +2407,7 @@ public Builder setPlural(java.lang.String value) { * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same * concept of the `plural` field in k8s CRD spec * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ + * * Note: The plural form is required even for singleton resources. See * https://aip.dev/156 *
@@ -2308,6 +2431,7 @@ public Builder clearPlural() { * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same * concept of the `plural` field in k8s CRD spec * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ + * * Note: The plural form is required even for singleton resources. See * https://aip.dev/156 *
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 3e9739257d..2c0099fcda 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 @@ -30,7 +30,9 @@ public interface ResourceDescriptorOrBuilder * The resource type. It must be in the format of * {service_name}/{resource_type_kind}. The `resource_type_kind` must be * singular and must not include version numbers. + * * Example: `storage.googleapis.com/Bucket` + * * The value of the resource_type_kind must follow the regular expression * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and * should use PascalCase (UpperCamelCase). The maximum number of @@ -49,7 +51,9 @@ public interface ResourceDescriptorOrBuilder * The resource type. It must be in the format of * {service_name}/{resource_type_kind}. The `resource_type_kind` must be * singular and must not include version numbers. + * * Example: `storage.googleapis.com/Bucket` + * * The value of the resource_type_kind must follow the regular expression * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and * should use PascalCase (UpperCamelCase). The maximum number of @@ -68,14 +72,19 @@ public interface ResourceDescriptorOrBuilder *
    * Optional. The relative resource name pattern associated with this resource
    * type. The DNS prefix of the full resource name shouldn't be specified here.
+   *
    * The path pattern must follow the syntax, which aligns with HTTP binding
    * syntax:
+   *
    *     Template = Segment { "/" Segment } ;
    *     Segment = LITERAL | Variable ;
    *     Variable = "{" LITERAL "}" ;
+   *
    * Examples:
+   *
    *     - "projects/{project}/topics/{topic}"
    *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+   *
    * The components in braces correspond to the IDs for each resource in the
    * hierarchy. It is expected that, if multiple patterns are provided,
    * the same component name (e.g. "project") refers to IDs of the same
@@ -93,14 +102,19 @@ public interface ResourceDescriptorOrBuilder
    * 
    * Optional. The relative resource name pattern associated with this resource
    * type. The DNS prefix of the full resource name shouldn't be specified here.
+   *
    * The path pattern must follow the syntax, which aligns with HTTP binding
    * syntax:
+   *
    *     Template = Segment { "/" Segment } ;
    *     Segment = LITERAL | Variable ;
    *     Variable = "{" LITERAL "}" ;
+   *
    * Examples:
+   *
    *     - "projects/{project}/topics/{topic}"
    *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+   *
    * The components in braces correspond to the IDs for each resource in the
    * hierarchy. It is expected that, if multiple patterns are provided,
    * the same component name (e.g. "project") refers to IDs of the same
@@ -118,14 +132,19 @@ public interface ResourceDescriptorOrBuilder
    * 
    * Optional. The relative resource name pattern associated with this resource
    * type. The DNS prefix of the full resource name shouldn't be specified here.
+   *
    * The path pattern must follow the syntax, which aligns with HTTP binding
    * syntax:
+   *
    *     Template = Segment { "/" Segment } ;
    *     Segment = LITERAL | Variable ;
    *     Variable = "{" LITERAL "}" ;
+   *
    * Examples:
+   *
    *     - "projects/{project}/topics/{topic}"
    *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+   *
    * The components in braces correspond to the IDs for each resource in the
    * hierarchy. It is expected that, if multiple patterns are provided,
    * the same component name (e.g. "project") refers to IDs of the same
@@ -144,14 +163,19 @@ public interface ResourceDescriptorOrBuilder
    * 
    * Optional. The relative resource name pattern associated with this resource
    * type. The DNS prefix of the full resource name shouldn't be specified here.
+   *
    * The path pattern must follow the syntax, which aligns with HTTP binding
    * syntax:
+   *
    *     Template = Segment { "/" Segment } ;
    *     Segment = LITERAL | Variable ;
    *     Variable = "{" LITERAL "}" ;
+   *
    * Examples:
+   *
    *     - "projects/{project}/topics/{topic}"
    *     - "projects/{project}/knowledgeBases/{knowledge_base}"
+   *
    * The components in braces correspond to the IDs for each resource in the
    * hierarchy. It is expected that, if multiple patterns are provided,
    * the same component name (e.g. "project") refers to IDs of the same
@@ -197,7 +221,9 @@ public interface ResourceDescriptorOrBuilder
    *
    * 
    * Optional. The historical or future-looking state of the resource pattern.
+   *
    * Example:
+   *
    *     // The InspectTemplate message originally only supported resource
    *     // names with organization, and project was added later.
    *     message InspectTemplate {
@@ -221,7 +247,9 @@ public interface ResourceDescriptorOrBuilder
    *
    * 
    * Optional. The historical or future-looking state of the resource pattern.
+   *
    * Example:
+   *
    *     // The InspectTemplate message originally only supported resource
    *     // names with organization, and project was added later.
    *     message InspectTemplate {
@@ -250,6 +278,7 @@ public interface ResourceDescriptorOrBuilder
    * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
    * concept of the `plural` field in k8s CRD spec
    * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
+   *
    * Note: The plural form is required even for singleton resources. See
    * https://aip.dev/156
    * 
@@ -268,6 +297,7 @@ public interface ResourceDescriptorOrBuilder * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same * concept of the `plural` field in k8s CRD spec * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ + * * Note: The plural form is required even for singleton resources. See * https://aip.dev/156 *
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 fbf2c0127d..331230dfd9 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 @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceReference(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ResourceProto.internal_static_google_api_ResourceReference_descriptor; } @@ -76,15 +71,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * The resource type that the annotated field references.
+   *
    * Example:
+   *
    *     message Subscription {
    *       string topic = 2 [(google.api.resource_reference) = {
    *         type: "pubsub.googleapis.com/Topic"
    *       }];
    *     }
+   *
    * Occasionally, a field may reference an arbitrary resource. In this case,
    * APIs use the special value * in their resource reference.
+   *
    * Example:
+   *
    *     message GetIamPolicyRequest {
    *       string resource = 2 [(google.api.resource_reference) = {
    *         type: "*"
@@ -113,15 +113,20 @@ public java.lang.String getType() {
    *
    * 
    * The resource type that the annotated field references.
+   *
    * Example:
+   *
    *     message Subscription {
    *       string topic = 2 [(google.api.resource_reference) = {
    *         type: "pubsub.googleapis.com/Topic"
    *       }];
    *     }
+   *
    * Occasionally, a field may reference an arbitrary resource. In this case,
    * APIs use the special value * in their resource reference.
+   *
    * Example:
+   *
    *     message GetIamPolicyRequest {
    *       string resource = 2 [(google.api.resource_reference) = {
    *         type: "*"
@@ -157,7 +162,9 @@ public com.google.protobuf.ByteString getTypeBytes() {
    * The resource type of a child collection that the annotated field
    * references. This is useful for annotating the `parent` field that
    * doesn't have a fixed resource type.
+   *
    * Example:
+   *
    *     message ListLogEntriesRequest {
    *       string parent = 1 [(google.api.resource_reference) = {
    *         child_type: "logging.googleapis.com/LogEntry"
@@ -188,7 +195,9 @@ public java.lang.String getChildType() {
    * The resource type of a child collection that the annotated field
    * references. This is useful for annotating the `parent` field that
    * doesn't have a fixed resource type.
+   *
    * Example:
+   *
    *     message ListLogEntriesRequest {
    *       string parent = 1 [(google.api.resource_reference) = {
    *         child_type: "logging.googleapis.com/LogEntry"
@@ -580,15 +589,20 @@ public Builder mergeFrom(
      *
      * 
      * The resource type that the annotated field references.
+     *
      * Example:
+     *
      *     message Subscription {
      *       string topic = 2 [(google.api.resource_reference) = {
      *         type: "pubsub.googleapis.com/Topic"
      *       }];
      *     }
+     *
      * Occasionally, a field may reference an arbitrary resource. In this case,
      * APIs use the special value * in their resource reference.
+     *
      * Example:
+     *
      *     message GetIamPolicyRequest {
      *       string resource = 2 [(google.api.resource_reference) = {
      *         type: "*"
@@ -616,15 +630,20 @@ public java.lang.String getType() {
      *
      * 
      * The resource type that the annotated field references.
+     *
      * Example:
+     *
      *     message Subscription {
      *       string topic = 2 [(google.api.resource_reference) = {
      *         type: "pubsub.googleapis.com/Topic"
      *       }];
      *     }
+     *
      * Occasionally, a field may reference an arbitrary resource. In this case,
      * APIs use the special value * in their resource reference.
+     *
      * Example:
+     *
      *     message GetIamPolicyRequest {
      *       string resource = 2 [(google.api.resource_reference) = {
      *         type: "*"
@@ -652,15 +671,20 @@ public com.google.protobuf.ByteString getTypeBytes() {
      *
      * 
      * The resource type that the annotated field references.
+     *
      * Example:
+     *
      *     message Subscription {
      *       string topic = 2 [(google.api.resource_reference) = {
      *         type: "pubsub.googleapis.com/Topic"
      *       }];
      *     }
+     *
      * Occasionally, a field may reference an arbitrary resource. In this case,
      * APIs use the special value * in their resource reference.
+     *
      * Example:
+     *
      *     message GetIamPolicyRequest {
      *       string resource = 2 [(google.api.resource_reference) = {
      *         type: "*"
@@ -687,15 +711,20 @@ public Builder setType(java.lang.String value) {
      *
      * 
      * The resource type that the annotated field references.
+     *
      * Example:
+     *
      *     message Subscription {
      *       string topic = 2 [(google.api.resource_reference) = {
      *         type: "pubsub.googleapis.com/Topic"
      *       }];
      *     }
+     *
      * Occasionally, a field may reference an arbitrary resource. In this case,
      * APIs use the special value * in their resource reference.
+     *
      * Example:
+     *
      *     message GetIamPolicyRequest {
      *       string resource = 2 [(google.api.resource_reference) = {
      *         type: "*"
@@ -718,15 +747,20 @@ public Builder clearType() {
      *
      * 
      * The resource type that the annotated field references.
+     *
      * Example:
+     *
      *     message Subscription {
      *       string topic = 2 [(google.api.resource_reference) = {
      *         type: "pubsub.googleapis.com/Topic"
      *       }];
      *     }
+     *
      * Occasionally, a field may reference an arbitrary resource. In this case,
      * APIs use the special value * in their resource reference.
+     *
      * Example:
+     *
      *     message GetIamPolicyRequest {
      *       string resource = 2 [(google.api.resource_reference) = {
      *         type: "*"
@@ -758,7 +792,9 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
      * The resource type of a child collection that the annotated field
      * references. This is useful for annotating the `parent` field that
      * doesn't have a fixed resource type.
+     *
      * Example:
+     *
      *     message ListLogEntriesRequest {
      *       string parent = 1 [(google.api.resource_reference) = {
      *         child_type: "logging.googleapis.com/LogEntry"
@@ -788,7 +824,9 @@ public java.lang.String getChildType() {
      * The resource type of a child collection that the annotated field
      * references. This is useful for annotating the `parent` field that
      * doesn't have a fixed resource type.
+     *
      * Example:
+     *
      *     message ListLogEntriesRequest {
      *       string parent = 1 [(google.api.resource_reference) = {
      *         child_type: "logging.googleapis.com/LogEntry"
@@ -818,7 +856,9 @@ public com.google.protobuf.ByteString getChildTypeBytes() {
      * The resource type of a child collection that the annotated field
      * references. This is useful for annotating the `parent` field that
      * doesn't have a fixed resource type.
+     *
      * Example:
+     *
      *     message ListLogEntriesRequest {
      *       string parent = 1 [(google.api.resource_reference) = {
      *         child_type: "logging.googleapis.com/LogEntry"
@@ -847,7 +887,9 @@ public Builder setChildType(java.lang.String value) {
      * The resource type of a child collection that the annotated field
      * references. This is useful for annotating the `parent` field that
      * doesn't have a fixed resource type.
+     *
      * Example:
+     *
      *     message ListLogEntriesRequest {
      *       string parent = 1 [(google.api.resource_reference) = {
      *         child_type: "logging.googleapis.com/LogEntry"
@@ -872,7 +914,9 @@ public Builder clearChildType() {
      * The resource type of a child collection that the annotated field
      * references. This is useful for annotating the `parent` field that
      * doesn't have a fixed resource type.
+     *
      * Example:
+     *
      *     message ListLogEntriesRequest {
      *       string parent = 1 [(google.api.resource_reference) = {
      *         child_type: "logging.googleapis.com/LogEntry"
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 d7ad517359..b056273f7c 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
@@ -28,15 +28,20 @@ public interface ResourceReferenceOrBuilder
    *
    * 
    * The resource type that the annotated field references.
+   *
    * Example:
+   *
    *     message Subscription {
    *       string topic = 2 [(google.api.resource_reference) = {
    *         type: "pubsub.googleapis.com/Topic"
    *       }];
    *     }
+   *
    * Occasionally, a field may reference an arbitrary resource. In this case,
    * APIs use the special value * in their resource reference.
+   *
    * Example:
+   *
    *     message GetIamPolicyRequest {
    *       string resource = 2 [(google.api.resource_reference) = {
    *         type: "*"
@@ -54,15 +59,20 @@ public interface ResourceReferenceOrBuilder
    *
    * 
    * The resource type that the annotated field references.
+   *
    * Example:
+   *
    *     message Subscription {
    *       string topic = 2 [(google.api.resource_reference) = {
    *         type: "pubsub.googleapis.com/Topic"
    *       }];
    *     }
+   *
    * Occasionally, a field may reference an arbitrary resource. In this case,
    * APIs use the special value * in their resource reference.
+   *
    * Example:
+   *
    *     message GetIamPolicyRequest {
    *       string resource = 2 [(google.api.resource_reference) = {
    *         type: "*"
@@ -83,7 +93,9 @@ public interface ResourceReferenceOrBuilder
    * The resource type of a child collection that the annotated field
    * references. This is useful for annotating the `parent` field that
    * doesn't have a fixed resource type.
+   *
    * Example:
+   *
    *     message ListLogEntriesRequest {
    *       string parent = 1 [(google.api.resource_reference) = {
    *         child_type: "logging.googleapis.com/LogEntry"
@@ -103,7 +115,9 @@ public interface ResourceReferenceOrBuilder
    * The resource type of a child collection that the annotated field
    * references. This is useful for annotating the `parent` field that
    * doesn't have a fixed resource type.
+   *
    * Example:
+   *
    *     message ListLogEntriesRequest {
    *       string parent = 1 [(google.api.resource_reference) = {
    *         child_type: "logging.googleapis.com/LogEntry"
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 d5d05e0ab3..3a03c2bbc4 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
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RoutingParameter();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.RoutingProto.internal_static_google_api_RoutingParameter_descriptor;
   }
@@ -134,7 +129,9 @@ public com.google.protobuf.ByteString getFieldBytes() {
    * - the name of the single named segment will be used as a header name,
    * - the match value of the segment will be used as a header value;
    * if the match is NOT successful, nothing will be sent.
+   *
    * Example:
+   *
    *               -- This is a field in the request message
    *              |   that the header value will be extracted from.
    *              |
@@ -151,6 +148,7 @@ public com.google.protobuf.ByteString getFieldBytes() {
    *                                                             |
    *      The string in the field must match the whole pattern --
    *      before brackets, inside brackets, after brackets.
+   *
    * When looking at this specific example, we can see that:
    * - A key-value pair with the key `table_location`
    *   and the value matching `instances/*` should be added
@@ -158,18 +156,23 @@ public com.google.protobuf.ByteString getFieldBytes() {
    * - The value is extracted from the request message's `table_name` field
    *   if it matches the full pattern specified:
    *   `projects/*/instances/*/tables/*`.
+   *
    * **NB:** If the `path_template` field is not provided, the key name is
    * equal to the field name, and the whole field should be sent as a value.
    * This makes the pattern for the field and the value functionally equivalent
    * to `**`, and the configuration
+   *
    *     {
    *       field: "table_name"
    *     }
+   *
    * is a functionally equivalent shorthand to:
+   *
    *     {
    *       field: "table_name"
    *       path_template: "{table_name=**}"
    *     }
+   *
    * See Example 1 for more details.
    * 
* @@ -202,7 +205,9 @@ public java.lang.String getPathTemplate() { * - the name of the single named segment will be used as a header name, * - the match value of the segment will be used as a header value; * if the match is NOT successful, nothing will be sent. + * * Example: + * * -- This is a field in the request message * | that the header value will be extracted from. * | @@ -219,6 +224,7 @@ public java.lang.String getPathTemplate() { * | * The string in the field must match the whole pattern -- * before brackets, inside brackets, after brackets. + * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` * and the value matching `instances/*` should be added @@ -226,18 +232,23 @@ public java.lang.String getPathTemplate() { * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: * `projects/*/instances/*/tables/*`. + * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration + * * { * field: "table_name" * } + * * is a functionally equivalent shorthand to: + * * { * field: "table_name" * path_template: "{table_name=**}" * } + * * See Example 1 for more details. *
* @@ -737,7 +748,9 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) { * - the name of the single named segment will be used as a header name, * - the match value of the segment will be used as a header value; * if the match is NOT successful, nothing will be sent. + * * Example: + * * -- This is a field in the request message * | that the header value will be extracted from. * | @@ -754,6 +767,7 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) { * | * The string in the field must match the whole pattern -- * before brackets, inside brackets, after brackets. + * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` * and the value matching `instances/*` should be added @@ -761,18 +775,23 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) { * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: * `projects/*/instances/*/tables/*`. + * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration + * * { * field: "table_name" * } + * * is a functionally equivalent shorthand to: + * * { * field: "table_name" * path_template: "{table_name=**}" * } + * * See Example 1 for more details. *
* @@ -804,7 +823,9 @@ public java.lang.String getPathTemplate() { * - the name of the single named segment will be used as a header name, * - the match value of the segment will be used as a header value; * if the match is NOT successful, nothing will be sent. + * * Example: + * * -- This is a field in the request message * | that the header value will be extracted from. * | @@ -821,6 +842,7 @@ public java.lang.String getPathTemplate() { * | * The string in the field must match the whole pattern -- * before brackets, inside brackets, after brackets. + * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` * and the value matching `instances/*` should be added @@ -828,18 +850,23 @@ public java.lang.String getPathTemplate() { * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: * `projects/*/instances/*/tables/*`. + * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration + * * { * field: "table_name" * } + * * is a functionally equivalent shorthand to: + * * { * field: "table_name" * path_template: "{table_name=**}" * } + * * See Example 1 for more details. *
* @@ -871,7 +898,9 @@ public com.google.protobuf.ByteString getPathTemplateBytes() { * - the name of the single named segment will be used as a header name, * - the match value of the segment will be used as a header value; * if the match is NOT successful, nothing will be sent. + * * Example: + * * -- This is a field in the request message * | that the header value will be extracted from. * | @@ -888,6 +917,7 @@ public com.google.protobuf.ByteString getPathTemplateBytes() { * | * The string in the field must match the whole pattern -- * before brackets, inside brackets, after brackets. + * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` * and the value matching `instances/*` should be added @@ -895,18 +925,23 @@ public com.google.protobuf.ByteString getPathTemplateBytes() { * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: * `projects/*/instances/*/tables/*`. + * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration + * * { * field: "table_name" * } + * * is a functionally equivalent shorthand to: + * * { * field: "table_name" * path_template: "{table_name=**}" * } + * * See Example 1 for more details. *
* @@ -937,7 +972,9 @@ public Builder setPathTemplate(java.lang.String value) { * - the name of the single named segment will be used as a header name, * - the match value of the segment will be used as a header value; * if the match is NOT successful, nothing will be sent. + * * Example: + * * -- This is a field in the request message * | that the header value will be extracted from. * | @@ -954,6 +991,7 @@ public Builder setPathTemplate(java.lang.String value) { * | * The string in the field must match the whole pattern -- * before brackets, inside brackets, after brackets. + * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` * and the value matching `instances/*` should be added @@ -961,18 +999,23 @@ public Builder setPathTemplate(java.lang.String value) { * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: * `projects/*/instances/*/tables/*`. + * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration + * * { * field: "table_name" * } + * * is a functionally equivalent shorthand to: + * * { * field: "table_name" * path_template: "{table_name=**}" * } + * * See Example 1 for more details. *
* @@ -999,7 +1042,9 @@ public Builder clearPathTemplate() { * - the name of the single named segment will be used as a header name, * - the match value of the segment will be used as a header value; * if the match is NOT successful, nothing will be sent. + * * Example: + * * -- This is a field in the request message * | that the header value will be extracted from. * | @@ -1016,6 +1061,7 @@ public Builder clearPathTemplate() { * | * The string in the field must match the whole pattern -- * before brackets, inside brackets, after brackets. + * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` * and the value matching `instances/*` should be added @@ -1023,18 +1069,23 @@ public Builder clearPathTemplate() { * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: * `projects/*/instances/*/tables/*`. + * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration + * * { * field: "table_name" * } + * * is a functionally equivalent shorthand to: + * * { * field: "table_name" * path_template: "{table_name=**}" * } + * * See Example 1 for more details. *
* 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 cb948dbd18..1d441400e9 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 @@ -61,7 +61,9 @@ public interface RoutingParameterOrBuilder * - the name of the single named segment will be used as a header name, * - the match value of the segment will be used as a header value; * if the match is NOT successful, nothing will be sent. + * * Example: + * * -- This is a field in the request message * | that the header value will be extracted from. * | @@ -78,6 +80,7 @@ public interface RoutingParameterOrBuilder * | * The string in the field must match the whole pattern -- * before brackets, inside brackets, after brackets. + * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` * and the value matching `instances/*` should be added @@ -85,18 +88,23 @@ public interface RoutingParameterOrBuilder * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: * `projects/*/instances/*/tables/*`. + * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration + * * { * field: "table_name" * } + * * is a functionally equivalent shorthand to: + * * { * field: "table_name" * path_template: "{table_name=**}" * } + * * See Example 1 for more details. *
* @@ -118,7 +126,9 @@ public interface RoutingParameterOrBuilder * - the name of the single named segment will be used as a header name, * - the match value of the segment will be used as a header value; * if the match is NOT successful, nothing will be sent. + * * Example: + * * -- This is a field in the request message * | that the header value will be extracted from. * | @@ -135,6 +145,7 @@ public interface RoutingParameterOrBuilder * | * The string in the field must match the whole pattern -- * before brackets, inside brackets, after brackets. + * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` * and the value matching `instances/*` should be added @@ -142,18 +153,23 @@ public interface RoutingParameterOrBuilder * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: * `projects/*/instances/*/tables/*`. + * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration + * * { * field: "table_name" * } + * * is a functionally equivalent shorthand to: + * * { * field: "table_name" * path_template: "{table_name=**}" * } + * * See Example 1 for more details. *
* 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 4b2708dd3a..4af6dfb409 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 @@ -25,8 +25,11 @@ * Specifies the routing information that should be sent along with the request * in the form of routing header. * **NOTE:** All service configuration rules follow the "last one wins" order. + * * The examples below will apply to an RPC which has the following request type: + * * Message Definition: + * * message Request { * // The name of the Table * // Values can be of the following formats: @@ -34,37 +37,51 @@ * // - `projects/<project>/instances/<instance>/tables/<table>` * // - `region/<region>/zones/<zone>/tables/<table>` * string table_name = 1; + * * // This value specifies routing for replication. * // It can be in the following formats: * // - `profiles/<profile_id>` * // - a legacy `profile_id` that can be any string * string app_profile_id = 2; * } + * * Example message: + * * { * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, * app_profile_id: profiles/prof_qux * } + * * The routing header consists of one or multiple key-value pairs. Every key * and value must be percent-encoded, and joined together in the format of * `key1=value1&key2=value2`. * In the examples below I am skipping the percent-encoding for readablity. + * * Example 1 + * * Extracting a field from the request to put into the routing header * unchanged, with the key equal to the field name. + * * annotation: + * * option (google.api.routing) = { * // Take the `app_profile_id`. * routing_parameters { * field: "app_profile_id" * } * }; + * * result: + * * x-goog-request-params: app_profile_id=profiles/prof_qux + * * Example 2 + * * Extracting a field from the request to put into the routing header * unchanged, with the key different from the field name. + * * annotation: + * * option (google.api.routing) = { * // Take the `app_profile_id`, but name it `routing_id` in the header. * routing_parameters { @@ -72,16 +89,25 @@ * path_template: "{routing_id=**}" * } * }; + * * result: + * * x-goog-request-params: routing_id=profiles/prof_qux + * * Example 3 + * * Extracting a field from the request to put into the routing * header, while matching a path template syntax on the field's value. + * * NB: it is more useful to send nothing than to send garbage for the purpose * of dynamic routing, since garbage pollutes cache. Thus the matching. + * * Sub-example 3a + * * The field matches the template. + * * annotation: + * * option (google.api.routing) = { * // Take the `table_name`, if it's well-formed (with project-based * // syntax). @@ -90,12 +116,18 @@ * path_template: "{table_name=projects/*/instances/*/**}" * } * }; + * * result: + * * x-goog-request-params: * table_name=projects/proj_foo/instances/instance_bar/table/table_baz + * * Sub-example 3b + * * The field does not match the template. + * * annotation: + * * option (google.api.routing) = { * // Take the `table_name`, if it's well-formed (with region-based * // syntax). @@ -104,15 +136,22 @@ * path_template: "{table_name=regions/*/zones/*/**}" * } * }; + * * result: + * * <no routing header will be sent> + * * Sub-example 3c + * * Multiple alternative conflictingly named path templates are * specified. The one that matches is used to construct the header. + * * annotation: + * * option (google.api.routing) = { * // Take the `table_name`, if it's well-formed, whether * // using the region- or projects-based syntax. + * * routing_parameters { * field: "table_name" * path_template: "{table_name=regions/*/zones/*/**}" @@ -122,13 +161,19 @@ * path_template: "{table_name=projects/*/instances/*/**}" * } * }; + * * result: + * * x-goog-request-params: * table_name=projects/proj_foo/instances/instance_bar/table/table_baz + * * Example 4 + * * Extracting a single routing header key-value pair by matching a * template syntax on (a part of) a single request field. + * * annotation: + * * option (google.api.routing) = { * // Take just the project id from the `table_name` field. * routing_parameters { @@ -136,17 +181,24 @@ * path_template: "{routing_id=projects/*}/**" * } * }; + * * result: + * * x-goog-request-params: routing_id=projects/proj_foo + * * Example 5 + * * Extracting a single routing header key-value pair by matching * several conflictingly named path templates on (parts of) a single request * field. The last template to match "wins" the conflict. + * * annotation: + * * option (google.api.routing) = { * // If the `table_name` does not have instances information, * // take just the project id for routing. * // Otherwise take project + instance. + * * routing_parameters { * field: "table_name" * path_template: "{routing_id=projects/*}/**" @@ -156,20 +208,29 @@ * path_template: "{routing_id=projects/*/instances/*}/**" * } * }; + * * result: + * * x-goog-request-params: * routing_id=projects/proj_foo/instances/instance_bar + * * Example 6 + * * Extracting multiple routing header key-value pairs by matching * several non-conflicting path templates on (parts of) a single request field. + * * Sub-example 6a + * * Make the templates strict, so that if the `table_name` does not * have an instance information, nothing is sent. + * * annotation: + * * option (google.api.routing) = { * // The routing code needs two keys instead of one composite * // but works only for the tables with the "project-instance" name * // syntax. + * * routing_parameters { * field: "table_name" * path_template: "{project_id=projects/*}/instances/*/**" @@ -179,17 +240,24 @@ * path_template: "projects/*/{instance_id=instances/*}/**" * } * }; + * * result: + * * x-goog-request-params: * project_id=projects/proj_foo&instance_id=instances/instance_bar + * * Sub-example 6b + * * Make the templates loose, so that if the `table_name` does not * have an instance information, just the project id part is sent. + * * annotation: + * * option (google.api.routing) = { * // The routing code wants two keys instead of one composite * // but will work with just the `project_id` for tables without * // an instance in the `table_name`. + * * routing_parameters { * field: "table_name" * path_template: "{project_id=projects/*}/**" @@ -199,22 +267,30 @@ * path_template: "projects/*/{instance_id=instances/*}/**" * } * }; + * * result (is the same as 6a for our example message because it has the instance * information): + * * x-goog-request-params: * project_id=projects/proj_foo&instance_id=instances/instance_bar + * * Example 7 + * * Extracting multiple routing header key-value pairs by matching * several path templates on multiple request fields. + * * NB: note that here there is no way to specify sending nothing if one of the * fields does not match its template. E.g. if the `table_name` is in the wrong * format, the `project_id` will not be sent, but the `routing_id` will be. * The backend routing code has to be aware of that and be prepared to not * receive a full complement of keys if it expects multiple. + * * annotation: + * * option (google.api.routing) = { * // The routing needs both `project_id` and `routing_id` * // (from the `app_profile_id` field) for routing. + * * routing_parameters { * field: "table_name" * path_template: "{project_id=projects/*}/**" @@ -224,18 +300,25 @@ * path_template: "{routing_id=**}" * } * }; + * * result: + * * x-goog-request-params: * project_id=projects/proj_foo&routing_id=profiles/prof_qux + * * Example 8 + * * Extracting a single routing header key-value pair by matching * several conflictingly named path templates on several request fields. The * last template to match "wins" the conflict. + * * annotation: + * * option (google.api.routing) = { * // The `routing_id` can be a project id or a region id depending on * // the table name format, but only if the `app_profile_id` is not set. * // If `app_profile_id` is set it should be used instead. + * * routing_parameters { * field: "table_name" * path_template: "{routing_id=projects/*}/**" @@ -249,11 +332,17 @@ * path_template: "{routing_id=**}" * } * }; + * * result: + * * x-goog-request-params: routing_id=profiles/prof_qux + * * Example 9 + * * Bringing it all together. + * * annotation: + * * option (google.api.routing) = { * // For routing both `table_location` and a `routing_id` are needed. * // @@ -265,6 +354,7 @@ * // - If it's any other literal, send it as is. * // If the `app_profile_id` is empty, and the `table_name` starts with * // the project_id, send that instead. + * * routing_parameters { * field: "table_name" * path_template: "projects/*/{table_location=instances/*}/tables/*" @@ -286,7 +376,9 @@ * path_template: "profiles/{routing_id=*}" * } * }; + * * result: + * * x-goog-request-params: * table_location=instances/instance_bar&routing_id=prof_qux *
@@ -313,11 +405,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RoutingRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.RoutingProto.internal_static_google_api_RoutingRule_descriptor; } @@ -593,8 +680,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Specifies the routing information that should be sent along with the request * in the form of routing header. * **NOTE:** All service configuration rules follow the "last one wins" order. + * * The examples below will apply to an RPC which has the following request type: + * * Message Definition: + * * message Request { * // The name of the Table * // Values can be of the following formats: @@ -602,37 +692,51 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * // - `projects/<project>/instances/<instance>/tables/<table>` * // - `region/<region>/zones/<zone>/tables/<table>` * string table_name = 1; + * * // This value specifies routing for replication. * // It can be in the following formats: * // - `profiles/<profile_id>` * // - a legacy `profile_id` that can be any string * string app_profile_id = 2; * } + * * Example message: + * * { * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, * app_profile_id: profiles/prof_qux * } + * * The routing header consists of one or multiple key-value pairs. Every key * and value must be percent-encoded, and joined together in the format of * `key1=value1&key2=value2`. * In the examples below I am skipping the percent-encoding for readablity. + * * Example 1 + * * Extracting a field from the request to put into the routing header * unchanged, with the key equal to the field name. + * * annotation: + * * option (google.api.routing) = { * // Take the `app_profile_id`. * routing_parameters { * field: "app_profile_id" * } * }; + * * result: + * * x-goog-request-params: app_profile_id=profiles/prof_qux + * * Example 2 + * * Extracting a field from the request to put into the routing header * unchanged, with the key different from the field name. + * * annotation: + * * option (google.api.routing) = { * // Take the `app_profile_id`, but name it `routing_id` in the header. * routing_parameters { @@ -640,16 +744,25 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "{routing_id=**}" * } * }; + * * result: + * * x-goog-request-params: routing_id=profiles/prof_qux + * * Example 3 + * * Extracting a field from the request to put into the routing * header, while matching a path template syntax on the field's value. + * * NB: it is more useful to send nothing than to send garbage for the purpose * of dynamic routing, since garbage pollutes cache. Thus the matching. + * * Sub-example 3a + * * The field matches the template. + * * annotation: + * * option (google.api.routing) = { * // Take the `table_name`, if it's well-formed (with project-based * // syntax). @@ -658,12 +771,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "{table_name=projects/*/instances/*/**}" * } * }; + * * result: + * * x-goog-request-params: * table_name=projects/proj_foo/instances/instance_bar/table/table_baz + * * Sub-example 3b + * * The field does not match the template. + * * annotation: + * * option (google.api.routing) = { * // Take the `table_name`, if it's well-formed (with region-based * // syntax). @@ -672,15 +791,22 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "{table_name=regions/*/zones/*/**}" * } * }; + * * result: + * * <no routing header will be sent> + * * Sub-example 3c + * * Multiple alternative conflictingly named path templates are * specified. The one that matches is used to construct the header. + * * annotation: + * * option (google.api.routing) = { * // Take the `table_name`, if it's well-formed, whether * // using the region- or projects-based syntax. + * * routing_parameters { * field: "table_name" * path_template: "{table_name=regions/*/zones/*/**}" @@ -690,13 +816,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "{table_name=projects/*/instances/*/**}" * } * }; + * * result: + * * x-goog-request-params: * table_name=projects/proj_foo/instances/instance_bar/table/table_baz + * * Example 4 + * * Extracting a single routing header key-value pair by matching a * template syntax on (a part of) a single request field. + * * annotation: + * * option (google.api.routing) = { * // Take just the project id from the `table_name` field. * routing_parameters { @@ -704,17 +836,24 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "{routing_id=projects/*}/**" * } * }; + * * result: + * * x-goog-request-params: routing_id=projects/proj_foo + * * Example 5 + * * Extracting a single routing header key-value pair by matching * several conflictingly named path templates on (parts of) a single request * field. The last template to match "wins" the conflict. + * * annotation: + * * option (google.api.routing) = { * // If the `table_name` does not have instances information, * // take just the project id for routing. * // Otherwise take project + instance. + * * routing_parameters { * field: "table_name" * path_template: "{routing_id=projects/*}/**" @@ -724,20 +863,29 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "{routing_id=projects/*/instances/*}/**" * } * }; + * * result: + * * x-goog-request-params: * routing_id=projects/proj_foo/instances/instance_bar + * * Example 6 + * * Extracting multiple routing header key-value pairs by matching * several non-conflicting path templates on (parts of) a single request field. + * * Sub-example 6a + * * Make the templates strict, so that if the `table_name` does not * have an instance information, nothing is sent. + * * annotation: + * * option (google.api.routing) = { * // The routing code needs two keys instead of one composite * // but works only for the tables with the "project-instance" name * // syntax. + * * routing_parameters { * field: "table_name" * path_template: "{project_id=projects/*}/instances/*/**" @@ -747,17 +895,24 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "projects/*/{instance_id=instances/*}/**" * } * }; + * * result: + * * x-goog-request-params: * project_id=projects/proj_foo&instance_id=instances/instance_bar + * * Sub-example 6b + * * Make the templates loose, so that if the `table_name` does not * have an instance information, just the project id part is sent. + * * annotation: + * * option (google.api.routing) = { * // The routing code wants two keys instead of one composite * // but will work with just the `project_id` for tables without * // an instance in the `table_name`. + * * routing_parameters { * field: "table_name" * path_template: "{project_id=projects/*}/**" @@ -767,22 +922,30 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "projects/*/{instance_id=instances/*}/**" * } * }; + * * result (is the same as 6a for our example message because it has the instance * information): + * * x-goog-request-params: * project_id=projects/proj_foo&instance_id=instances/instance_bar + * * Example 7 + * * Extracting multiple routing header key-value pairs by matching * several path templates on multiple request fields. + * * NB: note that here there is no way to specify sending nothing if one of the * fields does not match its template. E.g. if the `table_name` is in the wrong * format, the `project_id` will not be sent, but the `routing_id` will be. * The backend routing code has to be aware of that and be prepared to not * receive a full complement of keys if it expects multiple. + * * annotation: + * * option (google.api.routing) = { * // The routing needs both `project_id` and `routing_id` * // (from the `app_profile_id` field) for routing. + * * routing_parameters { * field: "table_name" * path_template: "{project_id=projects/*}/**" @@ -792,18 +955,25 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "{routing_id=**}" * } * }; + * * result: + * * x-goog-request-params: * project_id=projects/proj_foo&routing_id=profiles/prof_qux + * * Example 8 + * * Extracting a single routing header key-value pair by matching * several conflictingly named path templates on several request fields. The * last template to match "wins" the conflict. + * * annotation: + * * option (google.api.routing) = { * // The `routing_id` can be a project id or a region id depending on * // the table name format, but only if the `app_profile_id` is not set. * // If `app_profile_id` is set it should be used instead. + * * routing_parameters { * field: "table_name" * path_template: "{routing_id=projects/*}/**" @@ -817,11 +987,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "{routing_id=**}" * } * }; + * * result: + * * x-goog-request-params: routing_id=profiles/prof_qux + * * Example 9 + * * Bringing it all together. + * * annotation: + * * option (google.api.routing) = { * // For routing both `table_location` and a `routing_id` are needed. * // @@ -833,6 +1009,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * // - If it's any other literal, send it as is. * // If the `app_profile_id` is empty, and the `table_name` starts with * // the project_id, send that instead. + * * routing_parameters { * field: "table_name" * path_template: "projects/*/{table_location=instances/*}/tables/*" @@ -854,7 +1031,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * path_template: "profiles/{routing_id=*}" * } * }; + * * result: + * * x-goog-request-params: * table_location=instances/instance_bar&routing_id=prof_qux *
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 68d515b3b6..cdefbec8e4 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 @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RubySettings(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_RubySettings_descriptor; } 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 fac54578d0..a738c9c623 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 @@ -28,12 +28,15 @@ * aspects to sub-sections. Each sub-section is either a proto message or a * repeated proto message that configures a specific aspect, such as auth. * For more information, see each proto message definition. + * * Example: + * * type: google.api.Service * name: calendar.googleapis.com * title: Google Calendar API * apis: * - name: google.calendar.v3.Calendar + * * visibility: * rules: * - selector: "google.calendar.v3.*" @@ -42,6 +45,7 @@ * rules: * - selector: "google.calendar.v3.*" * address: calendar.example.com + * * authentication: * providers: * - id: google_calendar_auth @@ -85,11 +89,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Service(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ServiceProto.internal_static_google_api_Service_descriptor; } @@ -423,6 +422,7 @@ public com.google.protobuf.ApiOrBuilder getApisOrBuilder(int index) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -442,6 +442,7 @@ public java.util.List getTypesList() { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -461,6 +462,7 @@ public java.util.List getTypesOrBui * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -480,6 +482,7 @@ public int getTypesCount() { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -499,6 +502,7 @@ public com.google.protobuf.Type getTypes(int index) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -522,6 +526,7 @@ public com.google.protobuf.TypeOrBuilder getTypesOrBuilder(int index) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum *
@@ -540,6 +545,7 @@ public java.util.List getEnumsList() { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum *
@@ -558,6 +564,7 @@ public java.util.List getEnumsOrBui * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum *
@@ -576,6 +583,7 @@ public int getEnumsCount() { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum *
@@ -594,6 +602,7 @@ public com.google.protobuf.Enum getEnums(int index) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum *
@@ -1577,6 +1586,7 @@ public com.google.api.PublishingOrBuilder getPublishingOrBuilder() { * *
    * Obsolete. Do not use.
+   *
    * This field has no semantic meaning. The service config compiler always
    * sets this field to `3`.
    * 
@@ -1594,6 +1604,7 @@ public boolean hasConfigVersion() { * *
    * Obsolete. Do not use.
+   *
    * This field has no semantic meaning. The service config compiler always
    * sets this field to `3`.
    * 
@@ -1613,6 +1624,7 @@ public com.google.protobuf.UInt32Value getConfigVersion() { * *
    * Obsolete. Do not use.
+   *
    * This field has no semantic meaning. The service config compiler always
    * sets this field to `3`.
    * 
@@ -2108,12 +2120,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * aspects to sub-sections. Each sub-section is either a proto message or a * repeated proto message that configures a specific aspect, such as auth. * For more information, see each proto message definition. + * * Example: + * * type: google.api.Service * name: calendar.googleapis.com * title: Google Calendar API * apis: * - name: google.calendar.v3.Calendar + * * visibility: * rules: * - selector: "google.calendar.v3.*" @@ -2122,6 +2137,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * rules: * - selector: "google.calendar.v3.*" * address: calendar.example.com + * * authentication: * providers: * - id: google_calendar_auth @@ -3894,6 +3910,7 @@ private void ensureTypesIsMutable() { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -3916,6 +3933,7 @@ public java.util.List getTypesList() { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -3938,6 +3956,7 @@ public int getTypesCount() { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -3960,6 +3979,7 @@ public com.google.protobuf.Type getTypes(int index) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -3988,6 +4008,7 @@ public Builder setTypes(int index, com.google.protobuf.Type value) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4013,6 +4034,7 @@ public Builder setTypes(int index, com.google.protobuf.Type.Builder builderForVa * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4041,6 +4063,7 @@ public Builder addTypes(com.google.protobuf.Type value) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4069,6 +4092,7 @@ public Builder addTypes(int index, com.google.protobuf.Type value) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4094,6 +4118,7 @@ public Builder addTypes(com.google.protobuf.Type.Builder builderForValue) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4119,6 +4144,7 @@ public Builder addTypes(int index, com.google.protobuf.Type.Builder builderForVa * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4144,6 +4170,7 @@ public Builder addAllTypes(java.lang.Iterable @@ -4169,6 +4196,7 @@ public Builder clearTypes() { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4194,6 +4222,7 @@ public Builder removeTypes(int index) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4212,6 +4241,7 @@ public com.google.protobuf.Type.Builder getTypesBuilder(int index) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4234,6 +4264,7 @@ public com.google.protobuf.TypeOrBuilder getTypesOrBuilder(int index) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4256,6 +4287,7 @@ public java.util.List getTypesOrBui * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4274,6 +4306,7 @@ public com.google.protobuf.Type.Builder addTypesBuilder() { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 *
@@ -4293,6 +4326,7 @@ public com.google.protobuf.Type.Builder addTypesBuilder(int index) { * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 * @@ -4343,6 +4377,7 @@ private void ensureEnumsIsMutable() { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4364,6 +4399,7 @@ public java.util.List getEnumsList() { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4385,6 +4421,7 @@ public int getEnumsCount() { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4406,6 +4443,7 @@ public com.google.protobuf.Enum getEnums(int index) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4433,6 +4471,7 @@ public Builder setEnums(int index, com.google.protobuf.Enum value) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4457,6 +4496,7 @@ public Builder setEnums(int index, com.google.protobuf.Enum.Builder builderForVa * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4484,6 +4524,7 @@ public Builder addEnums(com.google.protobuf.Enum value) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4511,6 +4552,7 @@ public Builder addEnums(int index, com.google.protobuf.Enum value) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4535,6 +4577,7 @@ public Builder addEnums(com.google.protobuf.Enum.Builder builderForValue) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4559,6 +4602,7 @@ public Builder addEnums(int index, com.google.protobuf.Enum.Builder builderForVa * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4583,6 +4627,7 @@ public Builder addAllEnums(java.lang.Iterable @@ -4607,6 +4652,7 @@ public Builder clearEnums() { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4631,6 +4677,7 @@ public Builder removeEnums(int index) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4648,6 +4695,7 @@ public com.google.protobuf.Enum.Builder getEnumsBuilder(int index) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4669,6 +4717,7 @@ public com.google.protobuf.EnumOrBuilder getEnumsOrBuilder(int index) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4690,6 +4739,7 @@ public java.util.List getEnumsOrBui * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4707,6 +4757,7 @@ public com.google.protobuf.Enum.Builder addEnumsBuilder() { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -4725,6 +4776,7 @@ public com.google.protobuf.Enum.Builder addEnumsBuilder(int index) { * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -8718,6 +8770,7 @@ public com.google.api.PublishingOrBuilder getPublishingOrBuilder() { * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
@@ -8734,6 +8787,7 @@ public boolean hasConfigVersion() { * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
@@ -8756,6 +8810,7 @@ public com.google.protobuf.UInt32Value getConfigVersion() { * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
@@ -8780,6 +8835,7 @@ public Builder setConfigVersion(com.google.protobuf.UInt32Value value) { * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
@@ -8801,6 +8857,7 @@ public Builder setConfigVersion(com.google.protobuf.UInt32Value.Builder builderF * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
@@ -8828,6 +8885,7 @@ public Builder mergeConfigVersion(com.google.protobuf.UInt32Value value) { * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
@@ -8849,6 +8907,7 @@ public Builder clearConfigVersion() { * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
@@ -8865,6 +8924,7 @@ public com.google.protobuf.UInt32Value.Builder getConfigVersionBuilder() { * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
@@ -8885,6 +8945,7 @@ public com.google.protobuf.UInt32ValueOrBuilder getConfigVersionOrBuilder() { * *
      * Obsolete. Do not use.
+     *
      * This field has no semantic meaning. The service config compiler always
      * sets this field to `3`.
      * 
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 4bf479bf81..e390948dea 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 @@ -217,6 +217,7 @@ public interface ServiceOrBuilder * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 * @@ -233,6 +234,7 @@ public interface ServiceOrBuilder * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 * @@ -249,6 +251,7 @@ public interface ServiceOrBuilder * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 * @@ -265,6 +268,7 @@ public interface ServiceOrBuilder * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 * @@ -281,6 +285,7 @@ public interface ServiceOrBuilder * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: + * * types: * - name: google.protobuf.Int32 * @@ -297,6 +302,7 @@ public interface ServiceOrBuilder * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -312,6 +318,7 @@ public interface ServiceOrBuilder * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -327,6 +334,7 @@ public interface ServiceOrBuilder * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -342,6 +350,7 @@ public interface ServiceOrBuilder * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -357,6 +366,7 @@ public interface ServiceOrBuilder * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: + * * enums: * - name: google.someapi.v1.SomeEnum * @@ -1091,6 +1101,7 @@ public interface ServiceOrBuilder * *
    * Obsolete. Do not use.
+   *
    * This field has no semantic meaning. The service config compiler always
    * sets this field to `3`.
    * 
@@ -1105,6 +1116,7 @@ public interface ServiceOrBuilder * *
    * Obsolete. Do not use.
+   *
    * This field has no semantic meaning. The service config compiler always
    * sets this field to `3`.
    * 
@@ -1119,6 +1131,7 @@ public interface ServiceOrBuilder * *
    * Obsolete. Do not use.
+   *
    * This field has no semantic meaning. The service config compiler always
    * sets this field to `3`.
    * 
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 eb2384b6e5..8d2349bc82 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 @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SourceInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.SourceInfoProto.internal_static_google_api_SourceInfo_descriptor; } 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 10cd4584bb..6a447e35a9 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 @@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SystemParameter(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameter_descriptor; 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 ffdca924be..d1e815de8f 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 @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SystemParameterRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameterRule_descriptor; @@ -79,6 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -105,6 +101,7 @@ public java.lang.String getSelector() { *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -633,6 +630,7 @@ public Builder mergeFrom( *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -658,6 +656,7 @@ public java.lang.String getSelector() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -683,6 +682,7 @@ public com.google.protobuf.ByteString getSelectorBytes() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -707,6 +707,7 @@ public Builder setSelector(java.lang.String value) { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -727,6 +728,7 @@ public Builder clearSelector() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
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 da5cd58b1e..c3145cdd04 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 @@ -29,6 +29,7 @@ public interface SystemParameterRuleOrBuilder *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -44,6 +45,7 @@ public interface SystemParameterRuleOrBuilder *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
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 9d6e6d830b..14804382cf 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 @@ -23,6 +23,7 @@ * *
  * ### System parameter configuration
+ *
  * A system parameter is a special kind of parameter defined by the API
  * system, not by an individual API. It is typically mapped to an HTTP header
  * and/or a URL query parameter. This configuration specifies which methods
@@ -51,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SystemParameters();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.SystemParameterProto
         .internal_static_google_api_SystemParameters_descriptor;
@@ -79,18 +75,24 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -99,6 +101,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -113,18 +116,24 @@ public java.util.List getRulesList() { * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -133,6 +142,7 @@ public java.util.List getRulesList() {
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -148,18 +158,24 @@ public java.util.List getRulesList() { * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -168,6 +184,7 @@ public java.util.List getRulesList() {
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -182,18 +199,24 @@ public int getRulesCount() { * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -202,6 +225,7 @@ public int getRulesCount() {
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -216,18 +240,24 @@ public com.google.api.SystemParameterRule getRules(int index) { * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -236,6 +266,7 @@ public com.google.api.SystemParameterRule getRules(int index) {
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -410,6 +441,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * ### System parameter configuration
+   *
    * A system parameter is a special kind of parameter defined by the API
    * system, not by an individual API. It is typically mapped to an HTTP header
    * and/or a URL query parameter. This configuration specifies which methods
@@ -655,18 +687,24 @@ private void ensureRulesIsMutable() {
      *
      * 
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -675,6 +713,7 @@ private void ensureRulesIsMutable() {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -692,18 +731,24 @@ public java.util.List getRulesList() { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -712,6 +757,7 @@ public java.util.List getRulesList() {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -729,18 +775,24 @@ public int getRulesCount() { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -749,6 +801,7 @@ public int getRulesCount() {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -766,18 +819,24 @@ public com.google.api.SystemParameterRule getRules(int index) { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -786,6 +845,7 @@ public com.google.api.SystemParameterRule getRules(int index) {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -809,18 +869,24 @@ public Builder setRules(int index, com.google.api.SystemParameterRule value) { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -829,6 +895,7 @@ public Builder setRules(int index, com.google.api.SystemParameterRule value) {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -849,18 +916,24 @@ public Builder setRules(int index, com.google.api.SystemParameterRule.Builder bu * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -869,6 +942,7 @@ public Builder setRules(int index, com.google.api.SystemParameterRule.Builder bu
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -892,18 +966,24 @@ public Builder addRules(com.google.api.SystemParameterRule value) { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -912,6 +992,7 @@ public Builder addRules(com.google.api.SystemParameterRule value) {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -935,18 +1016,24 @@ public Builder addRules(int index, com.google.api.SystemParameterRule value) { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -955,6 +1042,7 @@ public Builder addRules(int index, com.google.api.SystemParameterRule value) {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -975,18 +1063,24 @@ public Builder addRules(com.google.api.SystemParameterRule.Builder builderForVal * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -995,6 +1089,7 @@ public Builder addRules(com.google.api.SystemParameterRule.Builder builderForVal
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1015,18 +1110,24 @@ public Builder addRules(int index, com.google.api.SystemParameterRule.Builder bu * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1035,6 +1136,7 @@ public Builder addRules(int index, com.google.api.SystemParameterRule.Builder bu
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1056,18 +1158,24 @@ public Builder addAllRules( * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1076,6 +1184,7 @@ public Builder addAllRules(
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1096,18 +1205,24 @@ public Builder clearRules() { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1116,6 +1231,7 @@ public Builder clearRules() {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1136,18 +1252,24 @@ public Builder removeRules(int index) { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1156,6 +1278,7 @@ public Builder removeRules(int index) {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1169,18 +1292,24 @@ public com.google.api.SystemParameterRule.Builder getRulesBuilder(int index) { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1189,6 +1318,7 @@ public com.google.api.SystemParameterRule.Builder getRulesBuilder(int index) {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1206,18 +1336,24 @@ public com.google.api.SystemParameterRuleOrBuilder getRulesOrBuilder(int index) * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1226,6 +1362,7 @@ public com.google.api.SystemParameterRuleOrBuilder getRulesOrBuilder(int index)
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1244,18 +1381,24 @@ public com.google.api.SystemParameterRuleOrBuilder getRulesOrBuilder(int index) * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1264,6 +1407,7 @@ public com.google.api.SystemParameterRuleOrBuilder getRulesOrBuilder(int index)
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1278,18 +1422,24 @@ public com.google.api.SystemParameterRule.Builder addRulesBuilder() { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1298,6 +1448,7 @@ public com.google.api.SystemParameterRule.Builder addRulesBuilder() {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1312,18 +1463,24 @@ public com.google.api.SystemParameterRule.Builder addRulesBuilder(int index) { * *
      * Define system parameters.
+     *
      * The parameters defined here will override the default parameters
      * implemented by the system. If this field is missing from the service
      * config, default system parameters will be used. Default system parameters
      * and names is implementation-dependent.
+     *
      * Example: define api key for all methods
+     *
      *     system_parameters
      *       rules:
      *         - selector: "*"
      *           parameters:
      *             - name: api_key
      *               url_query_parameter: api_key
+     *
+     *
      * Example: define 2 api key names for a specific method.
+     *
      *     system_parameters
      *       rules:
      *         - selector: "/ListShelves"
@@ -1332,6 +1489,7 @@ public com.google.api.SystemParameterRule.Builder addRulesBuilder(int index) {
      *               http_header: Api-Key1
      *             - name: api_key
      *               http_header: Api-Key2
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* 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 a989804140..3781566f93 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 @@ -28,18 +28,24 @@ public interface SystemParametersOrBuilder * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -48,6 +54,7 @@ public interface SystemParametersOrBuilder
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -59,18 +66,24 @@ public interface SystemParametersOrBuilder * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -79,6 +92,7 @@ public interface SystemParametersOrBuilder
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -90,18 +104,24 @@ public interface SystemParametersOrBuilder * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -110,6 +130,7 @@ public interface SystemParametersOrBuilder
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -121,18 +142,24 @@ public interface SystemParametersOrBuilder * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -141,6 +168,7 @@ public interface SystemParametersOrBuilder
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -152,18 +180,24 @@ public interface SystemParametersOrBuilder * *
    * Define system parameters.
+   *
    * The parameters defined here will override the default parameters
    * implemented by the system. If this field is missing from the service
    * config, default system parameters will be used. Default system parameters
    * and names is implementation-dependent.
+   *
    * Example: define api key for all methods
+   *
    *     system_parameters
    *       rules:
    *         - selector: "*"
    *           parameters:
    *             - name: api_key
    *               url_query_parameter: api_key
+   *
+   *
    * Example: define 2 api key names for a specific method.
+   *
    *     system_parameters
    *       rules:
    *         - selector: "/ListShelves"
@@ -172,6 +206,7 @@ public interface SystemParametersOrBuilder
    *               http_header: Api-Key1
    *             - name: api_key
    *               http_header: Api-Key2
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* 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 1fcbcf7751..112d52b680 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 @@ -38,7 +38,7 @@ private Usage(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private Usage() { - requirements_ = com.google.protobuf.LazyStringArrayList.EMPTY; + requirements_ = com.google.protobuf.LazyStringArrayList.emptyList(); rules_ = java.util.Collections.emptyList(); producerNotificationChannel_ = ""; } @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Usage(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.UsageProto.internal_static_google_api_Usage_descriptor; } @@ -69,7 +64,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int REQUIREMENTS_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList requirements_; + private com.google.protobuf.LazyStringArrayList requirements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -77,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Requirements that must be satisfied before a consumer project can use the * service. Each requirement is of the form <service.name>/<requirement-id>; * for example 'serviceusage.googleapis.com/billing-enabled'. + * * For Google APIs, a Terms of Service requirement must be included here. * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". * Other Google APIs should include @@ -98,6 +95,7 @@ public com.google.protobuf.ProtocolStringList getRequirementsList() { * Requirements that must be satisfied before a consumer project can use the * service. Each requirement is of the form <service.name>/<requirement-id>; * for example 'serviceusage.googleapis.com/billing-enabled'. + * * For Google APIs, a Terms of Service requirement must be included here. * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". * Other Google APIs should include @@ -119,6 +117,7 @@ public int getRequirementsCount() { * Requirements that must be satisfied before a consumer project can use the * service. Each requirement is of the form <service.name>/<requirement-id>; * for example 'serviceusage.googleapis.com/billing-enabled'. + * * For Google APIs, a Terms of Service requirement must be included here. * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". * Other Google APIs should include @@ -141,6 +140,7 @@ public java.lang.String getRequirements(int index) { * Requirements that must be satisfied before a consumer project can use the * service. Each requirement is of the form <service.name>/<requirement-id>; * for example 'serviceusage.googleapis.com/billing-enabled'. + * * For Google APIs, a Terms of Service requirement must be included here. * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". * Other Google APIs should include @@ -166,6 +166,7 @@ public com.google.protobuf.ByteString getRequirementsBytes(int index) { * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -180,6 +181,7 @@ public java.util.List getRulesList() { * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -194,6 +196,7 @@ public java.util.List getRulesOrBui * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -208,6 +211,7 @@ public int getRulesCount() { * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -222,6 +226,7 @@ public com.google.api.UsageRule getRules(int index) { * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -242,6 +247,7 @@ public com.google.api.UsageRuleOrBuilder getRulesOrBuilder(int index) { *
    * The full resource name of a channel used for sending notifications to the
    * service producer.
+   *
    * Google Service Management currently only supports
    * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
    * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
@@ -271,6 +277,7 @@ public java.lang.String getProducerNotificationChannel() {
    * 
    * The full resource name of a channel used for sending notifications to the
    * service producer.
+   *
    * Google Service Management currently only supports
    * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
    * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
@@ -517,8 +524,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      requirements_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000001);
+      requirements_ = com.google.protobuf.LazyStringArrayList.emptyList();
       if (rulesBuilder_ == null) {
         rules_ = java.util.Collections.emptyList();
       } else {
@@ -561,11 +567,6 @@ public com.google.api.Usage buildPartial() {
     }
 
     private void buildPartialRepeatedFields(com.google.api.Usage result) {
-      if (((bitField0_ & 0x00000001) != 0)) {
-        requirements_ = requirements_.getUnmodifiableView();
-        bitField0_ = (bitField0_ & ~0x00000001);
-      }
-      result.requirements_ = requirements_;
       if (rulesBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           rules_ = java.util.Collections.unmodifiableList(rules_);
@@ -579,6 +580,10 @@ private void buildPartialRepeatedFields(com.google.api.Usage result) {
 
     private void buildPartial0(com.google.api.Usage result) {
       int from_bitField0_ = bitField0_;
+      if (((from_bitField0_ & 0x00000001) != 0)) {
+        requirements_.makeImmutable();
+        result.requirements_ = requirements_;
+      }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.producerNotificationChannel_ = producerNotificationChannel_;
       }
@@ -632,7 +637,7 @@ public Builder mergeFrom(com.google.api.Usage other) {
       if (!other.requirements_.isEmpty()) {
         if (requirements_.isEmpty()) {
           requirements_ = other.requirements_;
-          bitField0_ = (bitField0_ & ~0x00000001);
+          bitField0_ |= 0x00000001;
         } else {
           ensureRequirementsIsMutable();
           requirements_.addAll(other.requirements_);
@@ -741,14 +746,14 @@ public Builder mergeFrom(
 
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList requirements_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList requirements_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureRequirementsIsMutable() {
-      if (!((bitField0_ & 0x00000001) != 0)) {
+      if (!requirements_.isModifiable()) {
         requirements_ = new com.google.protobuf.LazyStringArrayList(requirements_);
-        bitField0_ |= 0x00000001;
       }
+      bitField0_ |= 0x00000001;
     }
     /**
      *
@@ -757,6 +762,7 @@ private void ensureRequirementsIsMutable() {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -769,7 +775,8 @@ private void ensureRequirementsIsMutable() {
      * @return A list containing the requirements.
      */
     public com.google.protobuf.ProtocolStringList getRequirementsList() {
-      return requirements_.getUnmodifiableView();
+      requirements_.makeImmutable();
+      return requirements_;
     }
     /**
      *
@@ -778,6 +785,7 @@ public com.google.protobuf.ProtocolStringList getRequirementsList() {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -799,6 +807,7 @@ public int getRequirementsCount() {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -821,6 +830,7 @@ public java.lang.String getRequirements(int index) {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -843,6 +853,7 @@ public com.google.protobuf.ByteString getRequirementsBytes(int index) {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -862,6 +873,7 @@ public Builder setRequirements(int index, java.lang.String value) {
       }
       ensureRequirementsIsMutable();
       requirements_.set(index, value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -872,6 +884,7 @@ public Builder setRequirements(int index, java.lang.String value) {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -890,6 +903,7 @@ public Builder addRequirements(java.lang.String value) {
       }
       ensureRequirementsIsMutable();
       requirements_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -900,6 +914,7 @@ public Builder addRequirements(java.lang.String value) {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -915,6 +930,7 @@ public Builder addRequirements(java.lang.String value) {
     public Builder addAllRequirements(java.lang.Iterable values) {
       ensureRequirementsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requirements_);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -925,6 +941,7 @@ public Builder addAllRequirements(java.lang.Iterable values) {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -937,8 +954,9 @@ public Builder addAllRequirements(java.lang.Iterable values) {
      * @return This builder for chaining.
      */
     public Builder clearRequirements() {
-      requirements_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      requirements_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000001);
+      ;
       onChanged();
       return this;
     }
@@ -949,6 +967,7 @@ public Builder clearRequirements() {
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form <service.name>/<requirement-id>;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     *
      * For Google APIs, a Terms of Service requirement must be included here.
      * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
      * Other Google APIs should include
@@ -968,6 +987,7 @@ public Builder addRequirementsBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensureRequirementsIsMutable();
       requirements_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -992,6 +1012,7 @@ private void ensureRulesIsMutable() {
      *
      * 
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1009,6 +1030,7 @@ public java.util.List getRulesList() { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1026,6 +1048,7 @@ public int getRulesCount() { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1043,6 +1066,7 @@ public com.google.api.UsageRule getRules(int index) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1066,6 +1090,7 @@ public Builder setRules(int index, com.google.api.UsageRule value) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1086,6 +1111,7 @@ public Builder setRules(int index, com.google.api.UsageRule.Builder builderForVa * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1109,6 +1135,7 @@ public Builder addRules(com.google.api.UsageRule value) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1132,6 +1159,7 @@ public Builder addRules(int index, com.google.api.UsageRule value) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1152,6 +1180,7 @@ public Builder addRules(com.google.api.UsageRule.Builder builderForValue) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1172,6 +1201,7 @@ public Builder addRules(int index, com.google.api.UsageRule.Builder builderForVa * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1192,6 +1222,7 @@ public Builder addAllRules(java.lang.Iterable * A list of usage rules that apply to individual API methods. + * * **NOTE:** All service configuration rules follow "last one wins" order. *
* @@ -1212,6 +1243,7 @@ public Builder clearRules() { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1232,6 +1264,7 @@ public Builder removeRules(int index) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1245,6 +1278,7 @@ public com.google.api.UsageRule.Builder getRulesBuilder(int index) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1262,6 +1296,7 @@ public com.google.api.UsageRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1279,6 +1314,7 @@ public java.util.List getRulesOrBui * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1292,6 +1328,7 @@ public com.google.api.UsageRule.Builder addRulesBuilder() { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1306,6 +1343,7 @@ public com.google.api.UsageRule.Builder addRulesBuilder(int index) { * *
      * A list of usage rules that apply to individual API methods.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -1339,6 +1377,7 @@ public java.util.List getRulesBuilderList() { *
      * The full resource name of a channel used for sending notifications to the
      * service producer.
+     *
      * Google Service Management currently only supports
      * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
      * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
@@ -1367,6 +1406,7 @@ public java.lang.String getProducerNotificationChannel() {
      * 
      * The full resource name of a channel used for sending notifications to the
      * service producer.
+     *
      * Google Service Management currently only supports
      * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
      * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
@@ -1395,6 +1435,7 @@ public com.google.protobuf.ByteString getProducerNotificationChannelBytes() {
      * 
      * The full resource name of a channel used for sending notifications to the
      * service producer.
+     *
      * Google Service Management currently only supports
      * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
      * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
@@ -1422,6 +1463,7 @@ public Builder setProducerNotificationChannel(java.lang.String value) {
      * 
      * The full resource name of a channel used for sending notifications to the
      * service producer.
+     *
      * Google Service Management currently only supports
      * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
      * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
@@ -1445,6 +1487,7 @@ public Builder clearProducerNotificationChannel() {
      * 
      * The full resource name of a channel used for sending notifications to the
      * service producer.
+     *
      * Google Service Management currently only supports
      * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
      * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
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 ff0c52dd41..d653c034c2 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
@@ -30,6 +30,7 @@ public interface UsageOrBuilder
    * Requirements that must be satisfied before a consumer project can use the
    * service. Each requirement is of the form <service.name>/<requirement-id>;
    * for example 'serviceusage.googleapis.com/billing-enabled'.
+   *
    * For Google APIs, a Terms of Service requirement must be included here.
    * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
    * Other Google APIs should include
@@ -49,6 +50,7 @@ public interface UsageOrBuilder
    * Requirements that must be satisfied before a consumer project can use the
    * service. Each requirement is of the form <service.name>/<requirement-id>;
    * for example 'serviceusage.googleapis.com/billing-enabled'.
+   *
    * For Google APIs, a Terms of Service requirement must be included here.
    * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
    * Other Google APIs should include
@@ -68,6 +70,7 @@ public interface UsageOrBuilder
    * Requirements that must be satisfied before a consumer project can use the
    * service. Each requirement is of the form <service.name>/<requirement-id>;
    * for example 'serviceusage.googleapis.com/billing-enabled'.
+   *
    * For Google APIs, a Terms of Service requirement must be included here.
    * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
    * Other Google APIs should include
@@ -88,6 +91,7 @@ public interface UsageOrBuilder
    * Requirements that must be satisfied before a consumer project can use the
    * service. Each requirement is of the form <service.name>/<requirement-id>;
    * for example 'serviceusage.googleapis.com/billing-enabled'.
+   *
    * For Google APIs, a Terms of Service requirement must be included here.
    * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
    * Other Google APIs should include
@@ -107,6 +111,7 @@ public interface UsageOrBuilder
    *
    * 
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -118,6 +123,7 @@ public interface UsageOrBuilder * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -129,6 +135,7 @@ public interface UsageOrBuilder * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -140,6 +147,7 @@ public interface UsageOrBuilder * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -151,6 +159,7 @@ public interface UsageOrBuilder * *
    * A list of usage rules that apply to individual API methods.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -164,6 +173,7 @@ public interface UsageOrBuilder *
    * The full resource name of a channel used for sending notifications to the
    * service producer.
+   *
    * Google Service Management currently only supports
    * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
    * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
@@ -182,6 +192,7 @@ public interface UsageOrBuilder
    * 
    * The full resource name of a channel used for sending notifications to the
    * service producer.
+   *
    * Google Service Management currently only supports
    * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
    * channel. To use Google Cloud Pub/Sub as the channel, this must be the name
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 8cd6f28d51..fbd3ade075 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
@@ -23,19 +23,26 @@
  *
  * 
  * Usage configuration rules for the service.
+ *
  * NOTE: Under development.
+ *
+ *
  * Use this rule to configure unregistered calls for the service. Unregistered
  * calls are calls that do not contain consumer project identity.
  * (Example: calls that do not contain an API key).
  * By default, API methods do not allow unregistered calls, and each method call
  * must be identified by a consumer project identity. Use this rule to
  * allow/disallow unregistered calls.
+ *
  * Example of an API that wants to allow unregistered calls for entire service.
+ *
  *     usage:
  *       rules:
  *       - selector: "*"
  *         allow_unregistered_calls: true
+ *
  * Example of a method that wants to allow unregistered calls.
+ *
  *     usage:
  *       rules:
  *       - selector: "google.example.library.v1.LibraryService.CreateBook"
@@ -64,11 +71,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UsageRule();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.UsageProto.internal_static_google_api_UsageRule_descriptor;
   }
@@ -91,6 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -117,6 +120,7 @@ public java.lang.String getSelector() { *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -358,19 +362,26 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Usage configuration rules for the service.
+   *
    * NOTE: Under development.
+   *
+   *
    * Use this rule to configure unregistered calls for the service. Unregistered
    * calls are calls that do not contain consumer project identity.
    * (Example: calls that do not contain an API key).
    * By default, API methods do not allow unregistered calls, and each method call
    * must be identified by a consumer project identity. Use this rule to
    * allow/disallow unregistered calls.
+   *
    * Example of an API that wants to allow unregistered calls for entire service.
+   *
    *     usage:
    *       rules:
    *       - selector: "*"
    *         allow_unregistered_calls: true
+   *
    * Example of a method that wants to allow unregistered calls.
+   *
    *     usage:
    *       rules:
    *       - selector: "google.example.library.v1.LibraryService.CreateBook"
@@ -580,6 +591,7 @@ public Builder mergeFrom(
      * 
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -605,6 +617,7 @@ public java.lang.String getSelector() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -630,6 +643,7 @@ public com.google.protobuf.ByteString getSelectorBytes() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -654,6 +668,7 @@ public Builder setSelector(java.lang.String value) { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -674,6 +689,7 @@ public Builder clearSelector() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
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 c283341880..77caf516d2 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 @@ -29,6 +29,7 @@ public interface UsageRuleOrBuilder *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -44,6 +45,7 @@ public interface UsageRuleOrBuilder *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
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 e74061dbf2..03dce6017f 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 @@ -26,18 +26,23 @@ * such as whether an application can call a visibility-restricted method. * The restriction is expressed by applying visibility labels on service * elements. The visibility labels are elsewhere linked to service consumers. + * * A service can define multiple visibility labels, but a service consumer * should be granted at most one visibility label. Multiple visibility * labels for a single service consumer are not supported. + * * If an element and all its parents have no visibility label, its visibility * is unconditionally granted. + * * Example: + * * visibility: * rules: * - selector: google.calendar.Calendar.EnhancedSearch * restriction: PREVIEW * - selector: google.calendar.Calendar.Delegate * restriction: INTERNAL + * * Here, all methods are publicly visible except for the restricted methods * EnhancedSearch and Delegate. *
@@ -64,11 +69,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Visibility(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.VisibilityProto.internal_static_google_api_Visibility_descriptor; } @@ -90,6 +90,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -104,6 +105,7 @@ public java.util.List getRulesList() { * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -118,6 +120,7 @@ public java.util.List getRules * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -132,6 +135,7 @@ public int getRulesCount() { * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -146,6 +150,7 @@ public com.google.api.VisibilityRule getRules(int index) { * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -323,18 +328,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * such as whether an application can call a visibility-restricted method. * The restriction is expressed by applying visibility labels on service * elements. The visibility labels are elsewhere linked to service consumers. + * * A service can define multiple visibility labels, but a service consumer * should be granted at most one visibility label. Multiple visibility * labels for a single service consumer are not supported. + * * If an element and all its parents have no visibility label, its visibility * is unconditionally granted. + * * Example: + * * visibility: * rules: * - selector: google.calendar.Calendar.EnhancedSearch * restriction: PREVIEW * - selector: google.calendar.Calendar.Delegate * restriction: INTERNAL + * * Here, all methods are publicly visible except for the restricted methods * EnhancedSearch and Delegate. *
@@ -574,6 +584,7 @@ private void ensureRulesIsMutable() { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -591,6 +602,7 @@ public java.util.List getRulesList() { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -608,6 +620,7 @@ public int getRulesCount() { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -625,6 +638,7 @@ public com.google.api.VisibilityRule getRules(int index) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -648,6 +662,7 @@ public Builder setRules(int index, com.google.api.VisibilityRule value) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -668,6 +683,7 @@ public Builder setRules(int index, com.google.api.VisibilityRule.Builder builder * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -691,6 +707,7 @@ public Builder addRules(com.google.api.VisibilityRule value) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -714,6 +731,7 @@ public Builder addRules(int index, com.google.api.VisibilityRule value) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -734,6 +752,7 @@ public Builder addRules(com.google.api.VisibilityRule.Builder builderForValue) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -754,6 +773,7 @@ public Builder addRules(int index, com.google.api.VisibilityRule.Builder builder * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -774,6 +794,7 @@ public Builder addAllRules(java.lang.Iterable * A list of visibility rules that apply to individual API elements. + * * **NOTE:** All service configuration rules follow "last one wins" order. *
* @@ -794,6 +815,7 @@ public Builder clearRules() { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -814,6 +836,7 @@ public Builder removeRules(int index) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -827,6 +850,7 @@ public com.google.api.VisibilityRule.Builder getRulesBuilder(int index) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -844,6 +868,7 @@ public com.google.api.VisibilityRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -862,6 +887,7 @@ public com.google.api.VisibilityRuleOrBuilder getRulesOrBuilder(int index) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -875,6 +901,7 @@ public com.google.api.VisibilityRule.Builder addRulesBuilder() { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* @@ -889,6 +916,7 @@ public com.google.api.VisibilityRule.Builder addRulesBuilder(int index) { * *
      * A list of visibility rules that apply to individual API elements.
+     *
      * **NOTE:** All service configuration rules follow "last one wins" order.
      * 
* 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 40544aa4bb..658f91e87d 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 @@ -28,6 +28,7 @@ public interface VisibilityOrBuilder * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -39,6 +40,7 @@ public interface VisibilityOrBuilder * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -50,6 +52,7 @@ public interface VisibilityOrBuilder * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -61,6 +64,7 @@ public interface VisibilityOrBuilder * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* @@ -72,6 +76,7 @@ public interface VisibilityOrBuilder * *
    * A list of visibility rules that apply to individual API elements.
+   *
    * **NOTE:** All service configuration rules follow "last one wins" order.
    * 
* 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 e86d808534..4a97b642e0 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 @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VisibilityRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.VisibilityProto.internal_static_google_api_VisibilityRule_descriptor; } @@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Selects methods, messages, fields, enums, etc. to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -101,6 +97,7 @@ public java.lang.String getSelector() { * *
    * Selects methods, messages, fields, enums, etc. to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -132,13 +129,17 @@ public com.google.protobuf.ByteString getSelectorBytes() { *
    * A comma-separated list of visibility labels that apply to the `selector`.
    * Any of the listed labels can be used to grant the visibility.
+   *
    * If a rule has multiple labels, removing one of the labels but not all of
    * them can break clients.
+   *
    * Example:
+   *
    *     visibility:
    *       rules:
    *       - selector: google.calendar.Calendar.EnhancedSearch
    *         restriction: INTERNAL, PREVIEW
+   *
    * Removing INTERNAL from this restriction will break clients that rely on
    * this method and only had access to it through INTERNAL.
    * 
@@ -165,13 +166,17 @@ public java.lang.String getRestriction() { *
    * A comma-separated list of visibility labels that apply to the `selector`.
    * Any of the listed labels can be used to grant the visibility.
+   *
    * If a rule has multiple labels, removing one of the labels but not all of
    * them can break clients.
+   *
    * Example:
+   *
    *     visibility:
    *       rules:
    *       - selector: google.calendar.Calendar.EnhancedSearch
    *         restriction: INTERNAL, PREVIEW
+   *
    * Removing INTERNAL from this restriction will break clients that rely on
    * this method and only had access to it through INTERNAL.
    * 
@@ -559,6 +564,7 @@ public Builder mergeFrom( * *
      * Selects methods, messages, fields, enums, etc. to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -583,6 +589,7 @@ public java.lang.String getSelector() { * *
      * Selects methods, messages, fields, enums, etc. to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -607,6 +614,7 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects methods, messages, fields, enums, etc. to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -630,6 +638,7 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects methods, messages, fields, enums, etc. to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -649,6 +658,7 @@ public Builder clearSelector() { * *
      * Selects methods, messages, fields, enums, etc. to which this rule applies.
+     *
      * Refer to [selector][google.api.DocumentationRule.selector] for syntax
      * details.
      * 
@@ -676,13 +686,17 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { *
      * A comma-separated list of visibility labels that apply to the `selector`.
      * Any of the listed labels can be used to grant the visibility.
+     *
      * If a rule has multiple labels, removing one of the labels but not all of
      * them can break clients.
+     *
      * Example:
+     *
      *     visibility:
      *       rules:
      *       - selector: google.calendar.Calendar.EnhancedSearch
      *         restriction: INTERNAL, PREVIEW
+     *
      * Removing INTERNAL from this restriction will break clients that rely on
      * this method and only had access to it through INTERNAL.
      * 
@@ -708,13 +722,17 @@ public java.lang.String getRestriction() { *
      * A comma-separated list of visibility labels that apply to the `selector`.
      * Any of the listed labels can be used to grant the visibility.
+     *
      * If a rule has multiple labels, removing one of the labels but not all of
      * them can break clients.
+     *
      * Example:
+     *
      *     visibility:
      *       rules:
      *       - selector: google.calendar.Calendar.EnhancedSearch
      *         restriction: INTERNAL, PREVIEW
+     *
      * Removing INTERNAL from this restriction will break clients that rely on
      * this method and only had access to it through INTERNAL.
      * 
@@ -740,13 +758,17 @@ public com.google.protobuf.ByteString getRestrictionBytes() { *
      * A comma-separated list of visibility labels that apply to the `selector`.
      * Any of the listed labels can be used to grant the visibility.
+     *
      * If a rule has multiple labels, removing one of the labels but not all of
      * them can break clients.
+     *
      * Example:
+     *
      *     visibility:
      *       rules:
      *       - selector: google.calendar.Calendar.EnhancedSearch
      *         restriction: INTERNAL, PREVIEW
+     *
      * Removing INTERNAL from this restriction will break clients that rely on
      * this method and only had access to it through INTERNAL.
      * 
@@ -771,13 +793,17 @@ public Builder setRestriction(java.lang.String value) { *
      * A comma-separated list of visibility labels that apply to the `selector`.
      * Any of the listed labels can be used to grant the visibility.
+     *
      * If a rule has multiple labels, removing one of the labels but not all of
      * them can break clients.
+     *
      * Example:
+     *
      *     visibility:
      *       rules:
      *       - selector: google.calendar.Calendar.EnhancedSearch
      *         restriction: INTERNAL, PREVIEW
+     *
      * Removing INTERNAL from this restriction will break clients that rely on
      * this method and only had access to it through INTERNAL.
      * 
@@ -798,13 +824,17 @@ public Builder clearRestriction() { *
      * A comma-separated list of visibility labels that apply to the `selector`.
      * Any of the listed labels can be used to grant the visibility.
+     *
      * If a rule has multiple labels, removing one of the labels but not all of
      * them can break clients.
+     *
      * Example:
+     *
      *     visibility:
      *       rules:
      *       - selector: google.calendar.Calendar.EnhancedSearch
      *         restriction: INTERNAL, PREVIEW
+     *
      * Removing INTERNAL from this restriction will break clients that rely on
      * this method and only had access to it through INTERNAL.
      * 
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 8321e03e4f..575ab96a82 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 @@ -28,6 +28,7 @@ public interface VisibilityRuleOrBuilder * *
    * Selects methods, messages, fields, enums, etc. to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -42,6 +43,7 @@ public interface VisibilityRuleOrBuilder * *
    * Selects methods, messages, fields, enums, etc. to which this rule applies.
+   *
    * Refer to [selector][google.api.DocumentationRule.selector] for syntax
    * details.
    * 
@@ -58,13 +60,17 @@ public interface VisibilityRuleOrBuilder *
    * A comma-separated list of visibility labels that apply to the `selector`.
    * Any of the listed labels can be used to grant the visibility.
+   *
    * If a rule has multiple labels, removing one of the labels but not all of
    * them can break clients.
+   *
    * Example:
+   *
    *     visibility:
    *       rules:
    *       - selector: google.calendar.Calendar.EnhancedSearch
    *         restriction: INTERNAL, PREVIEW
+   *
    * Removing INTERNAL from this restriction will break clients that rely on
    * this method and only had access to it through INTERNAL.
    * 
@@ -80,13 +86,17 @@ public interface VisibilityRuleOrBuilder *
    * A comma-separated list of visibility labels that apply to the `selector`.
    * Any of the listed labels can be used to grant the visibility.
+   *
    * If a rule has multiple labels, removing one of the labels but not all of
    * them can break clients.
+   *
    * Example:
+   *
    *     visibility:
    *       rules:
    *       - selector: google.calendar.Calendar.EnhancedSearch
    *         restriction: INTERNAL, PREVIEW
+   *
    * Removing INTERNAL from this restriction will break clients that rely on
    * this method and only had access to it through INTERNAL.
    * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java index 32b9812d7b..8e81963a54 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditLog(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_descriptor; @@ -133,6 +128,7 @@ public com.google.protobuf.ByteString getServiceNameBytes() { * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" *
@@ -160,6 +156,7 @@ public java.lang.String getMethodName() { * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" *
@@ -192,6 +189,7 @@ public com.google.protobuf.ByteString getMethodNameBytes() { * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" *
@@ -219,6 +217,7 @@ public java.lang.String getResourceName() { * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" *
@@ -1817,6 +1816,7 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" *
@@ -1843,6 +1843,7 @@ public java.lang.String getMethodName() { * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" *
@@ -1869,6 +1870,7 @@ public com.google.protobuf.ByteString getMethodNameBytes() { * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" *
@@ -1894,6 +1896,7 @@ public Builder setMethodName(java.lang.String value) { * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" *
@@ -1915,6 +1918,7 @@ public Builder clearMethodName() { * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" *
@@ -1943,6 +1947,7 @@ public Builder setMethodNameBytes(com.google.protobuf.ByteString value) { * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" * @@ -1969,6 +1974,7 @@ public java.lang.String getResourceName() { * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" * @@ -1995,6 +2001,7 @@ public com.google.protobuf.ByteString getResourceNameBytes() { * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" * @@ -2020,6 +2027,7 @@ public Builder setResourceName(java.lang.String value) { * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" * @@ -2041,6 +2049,7 @@ public Builder clearResourceName() { * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java index 6577487192..0c1f8bc18e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java @@ -57,6 +57,7 @@ public interface AuditLogOrBuilder * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" * @@ -73,6 +74,7 @@ public interface AuditLogOrBuilder * The name of the service method or operation. * For API calls, this should be the name of the API method. * For example, + * * "google.cloud.bigquery.v2.TableService.InsertTable" * "google.logging.v2.ConfigServiceV2.CreateSink" * @@ -90,6 +92,7 @@ public interface AuditLogOrBuilder * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" * @@ -106,6 +109,7 @@ public interface AuditLogOrBuilder * The resource or collection that is the target of the operation. * The name is a scheme-less URI, not including the API service name. * For example: + * * "projects/PROJECT_ID/zones/us-central1-a/instances" * "projects/PROJECT_ID/datasets/DATASET_ID" * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java index 2269b3f77e..40add613b7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java @@ -140,24 +140,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "uf.StructB\013\n\tAuthority\"d\n\023PolicyViolatio" + "nInfo\022M\n\031org_policy_violation_info\030\001 \001(\013" + "2*.google.cloud.audit.OrgPolicyViolation" - + "Info\"\262\002\n\026OrgPolicyViolationInfo\022-\n\007paylo" - + "ad\030\001 \001(\0132\027.google.protobuf.StructB\003\340A\001\022\032" - + "\n\rresource_type\030\002 \001(\tB\003\340A\001\022X\n\rresource_t" - + "ags\030\003 \003(\0132<.google.cloud.audit.OrgPolicy" - + "ViolationInfo.ResourceTagsEntryB\003\340A\001\022>\n\016" - + "violation_info\030\004 \003(\0132!.google.cloud.audi" - + "t.ViolationInfoB\003\340A\001\0323\n\021ResourceTagsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\227\002\n\rVi" - + "olationInfo\022\027\n\nconstraint\030\001 \001(\tB\003\340A\001\022\032\n\r" - + "error_message\030\002 \001(\tB\003\340A\001\022\032\n\rchecked_valu" - + "e\030\003 \001(\tB\003\340A\001\022F\n\013policy_type\030\004 \001(\0162,.goog" - + "le.cloud.audit.ViolationInfo.PolicyTypeB" - + "\003\340A\001\"m\n\nPolicyType\022\033\n\027POLICY_TYPE_UNSPEC" - + "IFIED\020\000\022\026\n\022BOOLEAN_CONSTRAINT\020\001\022\023\n\017LIST_" - + "CONSTRAINT\020\002\022\025\n\021CUSTOM_CONSTRAINT\020\003Be\n\026c" - + "om.google.cloud.auditB\rAuditLogProtoP\001Z7" - + "google.golang.org/genproto/googleapis/cl" - + "oud/audit;audit\370\001\001b\006proto3" + + "Info\"\266\002\n\026OrgPolicyViolationInfo\022.\n\007paylo" + + "ad\030\001 \001(\0132\027.google.protobuf.StructB\004\342A\001\001\022" + + "\033\n\rresource_type\030\002 \001(\tB\004\342A\001\001\022Y\n\rresource" + + "_tags\030\003 \003(\0132<.google.cloud.audit.OrgPoli" + + "cyViolationInfo.ResourceTagsEntryB\004\342A\001\001\022" + + "?\n\016violation_info\030\004 \003(\0132!.google.cloud.a" + + "udit.ViolationInfoB\004\342A\001\001\0323\n\021ResourceTags" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\233\002" + + "\n\rViolationInfo\022\030\n\nconstraint\030\001 \001(\tB\004\342A\001" + + "\001\022\033\n\rerror_message\030\002 \001(\tB\004\342A\001\001\022\033\n\rchecke" + + "d_value\030\003 \001(\tB\004\342A\001\001\022G\n\013policy_type\030\004 \001(\016" + + "2,.google.cloud.audit.ViolationInfo.Poli" + + "cyTypeB\004\342A\001\001\"m\n\nPolicyType\022\033\n\027POLICY_TYP" + + "E_UNSPECIFIED\020\000\022\026\n\022BOOLEAN_CONSTRAINT\020\001\022" + + "\023\n\017LIST_CONSTRAINT\020\002\022\025\n\021CUSTOM_CONSTRAIN" + + "T\020\003Be\n\026com.google.cloud.auditB\rAuditLogP" + + "rotoP\001Z7google.golang.org/genproto/googl" + + "eapis/cloud/audit;audit\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java index 01d8e1e744..996af64ec8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java @@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthenticationInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuthenticationInfo_descriptor; @@ -255,6 +250,7 @@ public com.google.protobuf.StructOrBuilder getThirdPartyPrincipalOrBuilder() { * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * @@ -281,6 +277,7 @@ public java.lang.String getServiceAccountKeyName() { * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * @@ -1444,6 +1441,7 @@ public com.google.protobuf.StructOrBuilder getThirdPartyPrincipalOrBuilder() { * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * @@ -1469,6 +1467,7 @@ public java.lang.String getServiceAccountKeyName() { * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * @@ -1494,6 +1493,7 @@ public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() { * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * @@ -1518,6 +1518,7 @@ public Builder setServiceAccountKeyName(java.lang.String value) { * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * @@ -1538,6 +1539,7 @@ public Builder clearServiceAccountKeyName() { * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java index 2dfe54d9ea..1ae5ab45d5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java @@ -136,6 +136,7 @@ public interface AuthenticationInfoOrBuilder * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * @@ -151,6 +152,7 @@ public interface AuthenticationInfoOrBuilder * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: + * * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java index faccc6595e..4fa47fa05f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthorizationInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuthorizationInfo_descriptor; @@ -78,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * The resource being accessed, as a REST-style or cloud resource string.
    * For example:
+   *
    *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
    * or
    *     projects/PROJECTID/datasets/DATASETID
@@ -105,6 +101,7 @@ public java.lang.String getResource() {
    * 
    * The resource being accessed, as a REST-style or cloud resource string.
    * For example:
+   *
    *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
    * or
    *     projects/PROJECTID/datasets/DATASETID
@@ -205,6 +202,7 @@ public boolean getGranted() {
    * 
    * Resource attributes used in IAM condition evaluation. This field contains
    * resource attributes like resource type and resource name.
+   *
    * To get the whole view of the attributes used in IAM
    * condition evaluation, the user must also look into
    * `AuditLog.request_metadata.request_attributes`.
@@ -224,6 +222,7 @@ public boolean hasResourceAttributes() {
    * 
    * Resource attributes used in IAM condition evaluation. This field contains
    * resource attributes like resource type and resource name.
+   *
    * To get the whole view of the attributes used in IAM
    * condition evaluation, the user must also look into
    * `AuditLog.request_metadata.request_attributes`.
@@ -245,6 +244,7 @@ public com.google.rpc.context.AttributeContext.Resource getResourceAttributes()
    * 
    * Resource attributes used in IAM condition evaluation. This field contains
    * resource attributes like resource type and resource name.
+   *
    * To get the whole view of the attributes used in IAM
    * condition evaluation, the user must also look into
    * `AuditLog.request_metadata.request_attributes`.
@@ -688,6 +688,7 @@ public Builder mergeFrom(
      * 
      * The resource being accessed, as a REST-style or cloud resource string.
      * For example:
+     *
      *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
      * or
      *     projects/PROJECTID/datasets/DATASETID
@@ -714,6 +715,7 @@ public java.lang.String getResource() {
      * 
      * The resource being accessed, as a REST-style or cloud resource string.
      * For example:
+     *
      *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
      * or
      *     projects/PROJECTID/datasets/DATASETID
@@ -740,6 +742,7 @@ public com.google.protobuf.ByteString getResourceBytes() {
      * 
      * The resource being accessed, as a REST-style or cloud resource string.
      * For example:
+     *
      *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
      * or
      *     projects/PROJECTID/datasets/DATASETID
@@ -765,6 +768,7 @@ public Builder setResource(java.lang.String value) {
      * 
      * The resource being accessed, as a REST-style or cloud resource string.
      * For example:
+     *
      *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
      * or
      *     projects/PROJECTID/datasets/DATASETID
@@ -786,6 +790,7 @@ public Builder clearResource() {
      * 
      * The resource being accessed, as a REST-style or cloud resource string.
      * For example:
+     *
      *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
      * or
      *     projects/PROJECTID/datasets/DATASETID
@@ -981,6 +986,7 @@ public Builder clearGranted() {
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
@@ -999,6 +1005,7 @@ public boolean hasResourceAttributes() {
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
@@ -1023,6 +1030,7 @@ public com.google.rpc.context.AttributeContext.Resource getResourceAttributes()
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
@@ -1049,6 +1057,7 @@ public Builder setResourceAttributes(com.google.rpc.context.AttributeContext.Res
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
@@ -1073,6 +1082,7 @@ public Builder setResourceAttributes(
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
@@ -1103,6 +1113,7 @@ public Builder mergeResourceAttributes(com.google.rpc.context.AttributeContext.R
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
@@ -1126,6 +1137,7 @@ public Builder clearResourceAttributes() {
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
@@ -1144,6 +1156,7 @@ public com.google.rpc.context.AttributeContext.Resource.Builder getResourceAttri
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
@@ -1167,6 +1180,7 @@ public com.google.rpc.context.AttributeContext.Resource.Builder getResourceAttri
      * 
      * Resource attributes used in IAM condition evaluation. This field contains
      * resource attributes like resource type and resource name.
+     *
      * To get the whole view of the attributes used in IAM
      * condition evaluation, the user must also look into
      * `AuditLog.request_metadata.request_attributes`.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java
index fe0764ec63..d07958d948 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java
@@ -29,6 +29,7 @@ public interface AuthorizationInfoOrBuilder
    * 
    * The resource being accessed, as a REST-style or cloud resource string.
    * For example:
+   *
    *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
    * or
    *     projects/PROJECTID/datasets/DATASETID
@@ -45,6 +46,7 @@ public interface AuthorizationInfoOrBuilder
    * 
    * The resource being accessed, as a REST-style or cloud resource string.
    * For example:
+   *
    *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
    * or
    *     projects/PROJECTID/datasets/DATASETID
@@ -101,6 +103,7 @@ public interface AuthorizationInfoOrBuilder
    * 
    * Resource attributes used in IAM condition evaluation. This field contains
    * resource attributes like resource type and resource name.
+   *
    * To get the whole view of the attributes used in IAM
    * condition evaluation, the user must also look into
    * `AuditLog.request_metadata.request_attributes`.
@@ -117,6 +120,7 @@ public interface AuthorizationInfoOrBuilder
    * 
    * Resource attributes used in IAM condition evaluation. This field contains
    * resource attributes like resource type and resource name.
+   *
    * To get the whole view of the attributes used in IAM
    * condition evaluation, the user must also look into
    * `AuditLog.request_metadata.request_attributes`.
@@ -133,6 +137,7 @@ public interface AuthorizationInfoOrBuilder
    * 
    * Resource attributes used in IAM condition evaluation. This field contains
    * resource attributes like resource type and resource name.
+   *
    * To get the whole view of the attributes used in IAM
    * condition evaluation, the user must also look into
    * `AuditLog.request_metadata.request_attributes`.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfo.java
index ca555dfe16..b3292ee10b 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfo.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfo.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OrgPolicyViolationInfo();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.cloud.audit.AuditLogProto
         .internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor;
@@ -219,6 +214,7 @@ public int getResourceTagsCount() {
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
@@ -247,6 +243,7 @@ public java.util.Map getResourceTags() {
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
@@ -266,6 +263,7 @@ public java.util.Map getResourceTagsMap() {
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
@@ -292,6 +290,7 @@ public java.util.Map getResourceTagsMap() {
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
@@ -1235,6 +1234,7 @@ public int getResourceTagsCount() {
      * Optional. Tags referenced on the resource at the time of evaluation. These also
      * include the federated tags, if they are supplied in the CheckOrgPolicy
      * or CheckCustomConstraints Requests.
+     *
      * Optional field as of now. These tags are the Cloud tags that are
      * available on the resource during the policy evaluation and will
      * be available as part of the OrgPolicy check response for logging purposes.
@@ -1263,6 +1263,7 @@ public java.util.Map getResourceTags() {
      * Optional. Tags referenced on the resource at the time of evaluation. These also
      * include the federated tags, if they are supplied in the CheckOrgPolicy
      * or CheckCustomConstraints Requests.
+     *
      * Optional field as of now. These tags are the Cloud tags that are
      * available on the resource during the policy evaluation and will
      * be available as part of the OrgPolicy check response for logging purposes.
@@ -1282,6 +1283,7 @@ public java.util.Map getResourceTagsMap() {
      * Optional. Tags referenced on the resource at the time of evaluation. These also
      * include the federated tags, if they are supplied in the CheckOrgPolicy
      * or CheckCustomConstraints Requests.
+     *
      * Optional field as of now. These tags are the Cloud tags that are
      * available on the resource during the policy evaluation and will
      * be available as part of the OrgPolicy check response for logging purposes.
@@ -1308,6 +1310,7 @@ public java.util.Map getResourceTagsMap() {
      * Optional. Tags referenced on the resource at the time of evaluation. These also
      * include the federated tags, if they are supplied in the CheckOrgPolicy
      * or CheckCustomConstraints Requests.
+     *
      * Optional field as of now. These tags are the Cloud tags that are
      * available on the resource during the policy evaluation and will
      * be available as part of the OrgPolicy check response for logging purposes.
@@ -1340,6 +1343,7 @@ public Builder clearResourceTags() {
      * Optional. Tags referenced on the resource at the time of evaluation. These also
      * include the federated tags, if they are supplied in the CheckOrgPolicy
      * or CheckCustomConstraints Requests.
+     *
      * Optional field as of now. These tags are the Cloud tags that are
      * available on the resource during the policy evaluation and will
      * be available as part of the OrgPolicy check response for logging purposes.
@@ -1368,6 +1372,7 @@ public java.util.Map getMutableResourceTags(
      * Optional. Tags referenced on the resource at the time of evaluation. These also
      * include the federated tags, if they are supplied in the CheckOrgPolicy
      * or CheckCustomConstraints Requests.
+     *
      * Optional field as of now. These tags are the Cloud tags that are
      * available on the resource during the policy evaluation and will
      * be available as part of the OrgPolicy check response for logging purposes.
@@ -1394,6 +1399,7 @@ public Builder putResourceTags(java.lang.String key, java.lang.String value) {
      * Optional. Tags referenced on the resource at the time of evaluation. These also
      * include the federated tags, if they are supplied in the CheckOrgPolicy
      * or CheckCustomConstraints Requests.
+     *
      * Optional field as of now. These tags are the Cloud tags that are
      * available on the resource during the policy evaluation and will
      * be available as part of the OrgPolicy check response for logging purposes.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfoOrBuilder.java
index e05a56411b..0cb4a4412c 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfoOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfoOrBuilder.java
@@ -98,6 +98,7 @@ public interface OrgPolicyViolationInfoOrBuilder
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
@@ -114,6 +115,7 @@ public interface OrgPolicyViolationInfoOrBuilder
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
@@ -133,6 +135,7 @@ public interface OrgPolicyViolationInfoOrBuilder
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
@@ -149,6 +152,7 @@ public interface OrgPolicyViolationInfoOrBuilder
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
@@ -169,6 +173,7 @@ java.lang.String getResourceTagsOrDefault(
    * Optional. Tags referenced on the resource at the time of evaluation. These also
    * include the federated tags, if they are supplied in the CheckOrgPolicy
    * or CheckCustomConstraints Requests.
+   *
    * Optional field as of now. These tags are the Cloud tags that are
    * available on the resource during the policy evaluation and will
    * be available as part of the OrgPolicy check response for logging purposes.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfo.java
index d7e928e22b..51962845c0 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfo.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfo.java
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PolicyViolationInfo();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.cloud.audit.AuditLogProto
         .internal_static_google_cloud_audit_PolicyViolationInfo_descriptor;
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java
index 5a977fc9f0..6bb3aabfba 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.cloud.audit.AuditLogProto
         .internal_static_google_cloud_audit_RequestMetadata_descriptor;
@@ -151,6 +146,7 @@ public com.google.protobuf.ByteString getCallerIpBytes() {
    * The user agent of the caller.
    * This information is not authenticated and should be treated accordingly.
    * For example:
+   *
    * +   `google-api-python-client/1.4.0`:
    *     The request was made by the Google API client for Python.
    * +   `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`:
@@ -183,6 +179,7 @@ public java.lang.String getCallerSuppliedUserAgent() {
    * The user agent of the caller.
    * This information is not authenticated and should be treated accordingly.
    * For example:
+   *
    * +   `google-api-python-client/1.4.0`:
    *     The request was made by the Google API client for Python.
    * +   `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`:
@@ -222,6 +219,7 @@ public com.google.protobuf.ByteString getCallerSuppliedUserAgentBytes() {
    * (or project) as the accessed resource.
    * See https://cloud.google.com/compute/docs/vpc/ for more information.
    * This is a scheme-less URI full resource name. For example:
+   *
    *     "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"
    * 
* @@ -250,6 +248,7 @@ public java.lang.String getCallerNetwork() { * (or project) as the accessed resource. * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: + * * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" *
* @@ -279,6 +278,8 @@ public com.google.protobuf.ByteString getCallerNetworkBytes() { * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -299,6 +300,8 @@ public boolean hasRequestAttributes() { * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -321,6 +324,8 @@ public com.google.rpc.context.AttributeContext.Request getRequestAttributes() { * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1020,6 +1025,7 @@ public Builder setCallerIpBytes(com.google.protobuf.ByteString value) { * The user agent of the caller. * This information is not authenticated and should be treated accordingly. * For example: + * * + `google-api-python-client/1.4.0`: * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: @@ -1051,6 +1057,7 @@ public java.lang.String getCallerSuppliedUserAgent() { * The user agent of the caller. * This information is not authenticated and should be treated accordingly. * For example: + * * + `google-api-python-client/1.4.0`: * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: @@ -1082,6 +1089,7 @@ public com.google.protobuf.ByteString getCallerSuppliedUserAgentBytes() { * The user agent of the caller. * This information is not authenticated and should be treated accordingly. * For example: + * * + `google-api-python-client/1.4.0`: * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: @@ -1112,6 +1120,7 @@ public Builder setCallerSuppliedUserAgent(java.lang.String value) { * The user agent of the caller. * This information is not authenticated and should be treated accordingly. * For example: + * * + `google-api-python-client/1.4.0`: * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: @@ -1138,6 +1147,7 @@ public Builder clearCallerSuppliedUserAgent() { * The user agent of the caller. * This information is not authenticated and should be treated accordingly. * For example: + * * + `google-api-python-client/1.4.0`: * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: @@ -1173,6 +1183,7 @@ public Builder setCallerSuppliedUserAgentBytes(com.google.protobuf.ByteString va * (or project) as the accessed resource. * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: + * * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" *
* @@ -1200,6 +1211,7 @@ public java.lang.String getCallerNetwork() { * (or project) as the accessed resource. * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: + * * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" *
* @@ -1227,6 +1239,7 @@ public com.google.protobuf.ByteString getCallerNetworkBytes() { * (or project) as the accessed resource. * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: + * * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" *
* @@ -1253,6 +1266,7 @@ public Builder setCallerNetwork(java.lang.String value) { * (or project) as the accessed resource. * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: + * * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" *
* @@ -1275,6 +1289,7 @@ public Builder clearCallerNetwork() { * (or project) as the accessed resource. * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: + * * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" *
* @@ -1307,6 +1322,8 @@ public Builder setCallerNetworkBytes(com.google.protobuf.ByteString value) { * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1326,6 +1343,8 @@ public boolean hasRequestAttributes() { * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1351,6 +1370,8 @@ public com.google.rpc.context.AttributeContext.Request getRequestAttributes() { * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1378,6 +1399,8 @@ public Builder setRequestAttributes(com.google.rpc.context.AttributeContext.Requ * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1403,6 +1426,8 @@ public Builder setRequestAttributes( * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1434,6 +1459,8 @@ public Builder mergeRequestAttributes(com.google.rpc.context.AttributeContext.Re * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1458,6 +1485,8 @@ public Builder clearRequestAttributes() { * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1477,6 +1506,8 @@ public com.google.rpc.context.AttributeContext.Request.Builder getRequestAttribu * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -1501,6 +1532,8 @@ public com.google.rpc.context.AttributeContext.Request.Builder getRequestAttribu * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java index 593541486f..9bfaafe790 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java @@ -75,6 +75,7 @@ public interface RequestMetadataOrBuilder * The user agent of the caller. * This information is not authenticated and should be treated accordingly. * For example: + * * + `google-api-python-client/1.4.0`: * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: @@ -96,6 +97,7 @@ public interface RequestMetadataOrBuilder * The user agent of the caller. * This information is not authenticated and should be treated accordingly. * For example: + * * + `google-api-python-client/1.4.0`: * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: @@ -120,6 +122,7 @@ public interface RequestMetadataOrBuilder * (or project) as the accessed resource. * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: + * * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" *
* @@ -137,6 +140,7 @@ public interface RequestMetadataOrBuilder * (or project) as the accessed resource. * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: + * * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" *
* @@ -153,6 +157,8 @@ public interface RequestMetadataOrBuilder * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -170,6 +176,8 @@ public interface RequestMetadataOrBuilder * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. @@ -187,6 +195,8 @@ public interface RequestMetadataOrBuilder * Request attributes used in IAM condition evaluation. This field contains * request attributes like request time and access levels associated with * the request. + * + * * To get the whole view of the attributes used in IAM * condition evaluation, the user must also look into * `AuditLog.authentication_info.resource_attributes`. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java index 0c5b2caaa2..f6bf2ce07d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java @@ -38,8 +38,8 @@ private ResourceLocation(com.google.protobuf.GeneratedMessageV3.Builder build } private ResourceLocation() { - currentLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; - originalLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + currentLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + originalLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceLocation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ResourceLocation_descriptor; @@ -71,7 +66,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int CURRENT_LOCATIONS_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList currentLocations_; + private com.google.protobuf.LazyStringArrayList currentLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -80,6 +76,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -100,6 +97,7 @@ public com.google.protobuf.ProtocolStringList getCurrentLocationsList() { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -120,6 +118,7 @@ public int getCurrentLocationsCount() { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -141,6 +140,7 @@ public java.lang.String getCurrentLocations(int index) { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -158,7 +158,8 @@ public com.google.protobuf.ByteString getCurrentLocationsBytes(int index) { public static final int ORIGINAL_LOCATIONS_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList originalLocations_; + private com.google.protobuf.LazyStringArrayList originalLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -167,6 +168,7 @@ public com.google.protobuf.ByteString getCurrentLocationsBytes(int index) { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -187,6 +189,7 @@ public com.google.protobuf.ProtocolStringList getOriginalLocationsList() { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -207,6 +210,7 @@ public int getOriginalLocationsCount() { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -228,6 +232,7 @@ public java.lang.String getOriginalLocations(int index) { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -462,10 +467,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - currentLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - originalLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + currentLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + originalLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -493,7 +496,6 @@ public com.google.cloud.audit.ResourceLocation build() { public com.google.cloud.audit.ResourceLocation buildPartial() { com.google.cloud.audit.ResourceLocation result = new com.google.cloud.audit.ResourceLocation(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -501,21 +503,16 @@ public com.google.cloud.audit.ResourceLocation buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.cloud.audit.ResourceLocation result) { - if (((bitField0_ & 0x00000001) != 0)) { - currentLocations_ = currentLocations_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.currentLocations_ = currentLocations_; - if (((bitField0_ & 0x00000002) != 0)) { - originalLocations_ = originalLocations_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.originalLocations_ = originalLocations_; - } - private void buildPartial0(com.google.cloud.audit.ResourceLocation result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + currentLocations_.makeImmutable(); + result.currentLocations_ = currentLocations_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + originalLocations_.makeImmutable(); + result.originalLocations_ = originalLocations_; + } } @java.lang.Override @@ -566,7 +563,7 @@ public Builder mergeFrom(com.google.cloud.audit.ResourceLocation other) { if (!other.currentLocations_.isEmpty()) { if (currentLocations_.isEmpty()) { currentLocations_ = other.currentLocations_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureCurrentLocationsIsMutable(); currentLocations_.addAll(other.currentLocations_); @@ -576,7 +573,7 @@ public Builder mergeFrom(com.google.cloud.audit.ResourceLocation other) { if (!other.originalLocations_.isEmpty()) { if (originalLocations_.isEmpty()) { originalLocations_ = other.originalLocations_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureOriginalLocationsIsMutable(); originalLocations_.addAll(other.originalLocations_); @@ -642,14 +639,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList currentLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList currentLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureCurrentLocationsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!currentLocations_.isModifiable()) { currentLocations_ = new com.google.protobuf.LazyStringArrayList(currentLocations_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -659,6 +656,7 @@ private void ensureCurrentLocationsIsMutable() { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -669,7 +667,8 @@ private void ensureCurrentLocationsIsMutable() { * @return A list containing the currentLocations. */ public com.google.protobuf.ProtocolStringList getCurrentLocationsList() { - return currentLocations_.getUnmodifiableView(); + currentLocations_.makeImmutable(); + return currentLocations_; } /** * @@ -679,6 +678,7 @@ public com.google.protobuf.ProtocolStringList getCurrentLocationsList() { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -699,6 +699,7 @@ public int getCurrentLocationsCount() { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -720,6 +721,7 @@ public java.lang.String getCurrentLocations(int index) { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -741,6 +743,7 @@ public com.google.protobuf.ByteString getCurrentLocationsBytes(int index) { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -758,6 +761,7 @@ public Builder setCurrentLocations(int index, java.lang.String value) { } ensureCurrentLocationsIsMutable(); currentLocations_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -769,6 +773,7 @@ public Builder setCurrentLocations(int index, java.lang.String value) { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -785,6 +790,7 @@ public Builder addCurrentLocations(java.lang.String value) { } ensureCurrentLocationsIsMutable(); currentLocations_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -796,6 +802,7 @@ public Builder addCurrentLocations(java.lang.String value) { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -809,6 +816,7 @@ public Builder addCurrentLocations(java.lang.String value) { public Builder addAllCurrentLocations(java.lang.Iterable values) { ensureCurrentLocationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, currentLocations_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -820,6 +828,7 @@ public Builder addAllCurrentLocations(java.lang.Iterable value * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -830,8 +839,9 @@ public Builder addAllCurrentLocations(java.lang.Iterable value * @return This builder for chaining. */ public Builder clearCurrentLocations() { - currentLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + currentLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } @@ -843,6 +853,7 @@ public Builder clearCurrentLocations() { * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -860,18 +871,19 @@ public Builder addCurrentLocationsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureCurrentLocationsIsMutable(); currentLocations_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } - private com.google.protobuf.LazyStringList originalLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList originalLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureOriginalLocationsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!originalLocations_.isModifiable()) { originalLocations_ = new com.google.protobuf.LazyStringArrayList(originalLocations_); - bitField0_ |= 0x00000002; } + bitField0_ |= 0x00000002; } /** * @@ -881,6 +893,7 @@ private void ensureOriginalLocationsIsMutable() { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -891,7 +904,8 @@ private void ensureOriginalLocationsIsMutable() { * @return A list containing the originalLocations. */ public com.google.protobuf.ProtocolStringList getOriginalLocationsList() { - return originalLocations_.getUnmodifiableView(); + originalLocations_.makeImmutable(); + return originalLocations_; } /** * @@ -901,6 +915,7 @@ public com.google.protobuf.ProtocolStringList getOriginalLocationsList() { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -921,6 +936,7 @@ public int getOriginalLocationsCount() { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -942,6 +958,7 @@ public java.lang.String getOriginalLocations(int index) { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -963,6 +980,7 @@ public com.google.protobuf.ByteString getOriginalLocationsBytes(int index) { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -980,6 +998,7 @@ public Builder setOriginalLocations(int index, java.lang.String value) { } ensureOriginalLocationsIsMutable(); originalLocations_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -991,6 +1010,7 @@ public Builder setOriginalLocations(int index, java.lang.String value) { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -1007,6 +1027,7 @@ public Builder addOriginalLocations(java.lang.String value) { } ensureOriginalLocationsIsMutable(); originalLocations_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1018,6 +1039,7 @@ public Builder addOriginalLocations(java.lang.String value) { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -1031,6 +1053,7 @@ public Builder addOriginalLocations(java.lang.String value) { public Builder addAllOriginalLocations(java.lang.Iterable values) { ensureOriginalLocationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, originalLocations_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1042,6 +1065,7 @@ public Builder addAllOriginalLocations(java.lang.Iterable valu * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -1052,8 +1076,9 @@ public Builder addAllOriginalLocations(java.lang.Iterable valu * @return This builder for chaining. */ public Builder clearOriginalLocations() { - originalLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + originalLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -1065,6 +1090,7 @@ public Builder clearOriginalLocations() { * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -1082,6 +1108,7 @@ public Builder addOriginalLocationsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureOriginalLocationsIsMutable(); originalLocations_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java index 2a0e76f4af..7849d69394 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java @@ -31,6 +31,7 @@ public interface ResourceLocationOrBuilder * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -49,6 +50,7 @@ public interface ResourceLocationOrBuilder * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -67,6 +69,7 @@ public interface ResourceLocationOrBuilder * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -86,6 +89,7 @@ public interface ResourceLocationOrBuilder * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -106,6 +110,7 @@ public interface ResourceLocationOrBuilder * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -124,6 +129,7 @@ public interface ResourceLocationOrBuilder * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -142,6 +148,7 @@ public interface ResourceLocationOrBuilder * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" @@ -161,6 +168,7 @@ public interface ResourceLocationOrBuilder * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. * For example: + * * "europe-west1-a" * "us-east1" * "nam3" diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java index e0a88f5878..d14a075b34 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ServiceAccountDelegationInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor; @@ -161,11 +156,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FirstPartyPrincipal(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor; @@ -1100,11 +1090,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ThirdPartyPrincipal(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor; @@ -1794,6 +1779,8 @@ public com.google.protobuf.Parser getParserForType() { } private int authorityCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object authority_; public enum AuthorityCase diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java index 6dd5b65ce7..eaad80e169 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java @@ -142,5 +142,5 @@ public interface ServiceAccountDelegationInfoOrBuilder com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder getThirdPartyPrincipalOrBuilder(); - public com.google.cloud.audit.ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase(); + com.google.cloud.audit.ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfo.java index 3311f42a98..4f5e13cdb3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfo.java @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ViolationInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ViolationInfo_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequest.java index ccb3932003..48e862c1ab 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequest.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetLocationRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_GetLocationRequest_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequest.java index 8f0385f283..56ad5b9c80 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequest.java @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLocationsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_ListLocationsRequest_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponse.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponse.java index 5367d42a46..3080dc782a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponse.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponse.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLocationsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_ListLocationsResponse_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/Location.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/Location.java index 936101f085..7c414555de 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/Location.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/Location.java @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Location(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_Location_descriptor; @@ -268,6 +263,7 @@ public int getLabelsCount() { * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* @@ -291,6 +287,7 @@ public java.util.Map getLabels() { * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* @@ -305,6 +302,7 @@ public java.util.Map getLabelsMap() { * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* @@ -326,6 +324,7 @@ public java.util.Map getLabelsMap() { * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* @@ -1223,6 +1222,7 @@ public int getLabelsCount() { * *
      * Cross-service attributes for the location. For example
+     *
      *     {"cloud.googleapis.com/region": "us-east1"}
      * 
* @@ -1246,6 +1246,7 @@ public java.util.Map getLabels() { * *
      * Cross-service attributes for the location. For example
+     *
      *     {"cloud.googleapis.com/region": "us-east1"}
      * 
* @@ -1260,6 +1261,7 @@ public java.util.Map getLabelsMap() { * *
      * Cross-service attributes for the location. For example
+     *
      *     {"cloud.googleapis.com/region": "us-east1"}
      * 
* @@ -1281,6 +1283,7 @@ public java.util.Map getLabelsMap() { * *
      * Cross-service attributes for the location. For example
+     *
      *     {"cloud.googleapis.com/region": "us-east1"}
      * 
* @@ -1308,6 +1311,7 @@ public Builder clearLabels() { * *
      * Cross-service attributes for the location. For example
+     *
      *     {"cloud.googleapis.com/region": "us-east1"}
      * 
* @@ -1331,6 +1335,7 @@ public java.util.Map getMutableLabels() { * *
      * Cross-service attributes for the location. For example
+     *
      *     {"cloud.googleapis.com/region": "us-east1"}
      * 
* @@ -1352,6 +1357,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * *
      * Cross-service attributes for the location. For example
+     *
      *     {"cloud.googleapis.com/region": "us-east1"}
      * 
* diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationOrBuilder.java index 72eade68c2..4b358ed53d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationOrBuilder.java @@ -107,6 +107,7 @@ public interface LocationOrBuilder * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* @@ -118,6 +119,7 @@ public interface LocationOrBuilder * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* @@ -132,6 +134,7 @@ public interface LocationOrBuilder * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* @@ -143,6 +146,7 @@ public interface LocationOrBuilder * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* @@ -158,6 +162,7 @@ java.lang.String getLabelsOrDefault( * *
    * Cross-service attributes for the location. For example
+   *
    *     {"cloud.googleapis.com/region": "us-east1"}
    * 
* diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java index c0eaf905ee..0d118038df 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java @@ -27,18 +27,26 @@ * its boundary. The latitude bounds must range between -90 to 90 degrees * inclusive, and the longitude bounds must range between -180 to 180 degrees * inclusive. Various cases include: + * * - If `low` = `high`, the viewport consists of that single point. + * * - If `low.longitude` > `high.longitude`, the longitude range is inverted * (the viewport crosses the 180 degree longitude line). + * * - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, * the viewport includes all longitudes. + * * - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, * the longitude range is empty. + * * - If `low.latitude` > `high.latitude`, the latitude range is empty. + * * Both `low` and `high` must be populated, and the represented box cannot be * empty (as specified by the definitions above). An empty viewport will result * in an error. + * * For example, this viewport fully encloses New York City: + * * { * "low": { * "latitude": 40.477398, @@ -71,11 +79,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Viewport(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.geo.type.ViewportProto.internal_static_google_geo_type_Viewport_descriptor; } @@ -366,18 +369,26 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * its boundary. The latitude bounds must range between -90 to 90 degrees * inclusive, and the longitude bounds must range between -180 to 180 degrees * inclusive. Various cases include: + * * - If `low` = `high`, the viewport consists of that single point. + * * - If `low.longitude` > `high.longitude`, the longitude range is inverted * (the viewport crosses the 180 degree longitude line). + * * - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, * the viewport includes all longitudes. + * * - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, * the longitude range is empty. + * * - If `low.latitude` > `high.latitude`, the latitude range is empty. + * * Both `low` and `high` must be populated, and the represented box cannot be * empty (as specified by the definitions above). An empty viewport will result * in an error. + * * For example, this viewport fully encloses New York City: + * * { * "low": { * "latitude": 40.477398, diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java index 37a52d34c9..6c3555ebea 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java @@ -55,11 +55,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HttpRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.type.HttpRequestProto .internal_static_google_logging_type_HttpRequest_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java index 4ec7bfe118..7238de705c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java @@ -26,10 +26,13 @@ * standard severity levels listed below. For your reference, the levels are * assigned the listed numeric values. The effect of using numeric values other * than those listed is undefined. + * * You can filter for log entries by severity. For example, the following * filter expression will match log entries with severities `INFO`, `NOTICE`, * and `WARNING`: + * * severity > DEBUG AND severity <= WARNING + * * If you are writing log entries, you should map other severity encodings to * one of these standard levels. For example, you might map all of Java's FINE, * FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java index 455e6539e5..9309c818ed 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelOperationRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_CancelOperationRequest_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java index 5d74c7f44c..37dad21528 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteOperationRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_DeleteOperationRequest_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java index c815fad8a1..c5008bae44 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetOperationRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_GetOperationRequest_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java index 7da625be76..5bc30149a5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOperationsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_ListOperationsRequest_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java index af082c12a4..40c6539d69 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOperationsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_ListOperationsResponse_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java index 16832c02ce..92cdb06070 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Operation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_Operation_descriptor; @@ -68,6 +63,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int resultCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object result_; public enum ResultCase diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java index 8e6dd32dd9..f96f4399f0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java @@ -23,7 +23,9 @@ * *
  * A message representing the message types used by a long-running operation.
+ *
  * Example:
+ *
  *   rpc LongRunningRecognize(LongRunningRecognizeRequest)
  *       returns (google.longrunning.Operation) {
  *     option (google.longrunning.operation_info) = {
@@ -56,11 +58,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OperationInfo();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.longrunning.OperationsProto
         .internal_static_google_longrunning_OperationInfo_descriptor;
@@ -87,8 +84,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Required. The message name of the primary return type for this
    * long-running operation.
    * This type will be used to deserialize the LRO's response.
+   *
    * If the response is in a different package from the rpc, a fully-qualified
    * message name must be used (e.g. `google.protobuf.Struct`).
+   *
    * Note: Altering this value constitutes a breaking change.
    * 
* @@ -115,8 +114,10 @@ public java.lang.String getResponseType() { * Required. The message name of the primary return type for this * long-running operation. * This type will be used to deserialize the LRO's response. + * * If the response is in a different package from the rpc, a fully-qualified * message name must be used (e.g. `google.protobuf.Struct`). + * * Note: Altering this value constitutes a breaking change. *
* @@ -147,8 +148,10 @@ public com.google.protobuf.ByteString getResponseTypeBytes() { *
    * Required. The message name of the metadata type for this long-running
    * operation.
+   *
    * If the response is in a different package from the rpc, a fully-qualified
    * message name must be used (e.g. `google.protobuf.Struct`).
+   *
    * Note: Altering this value constitutes a breaking change.
    * 
* @@ -174,8 +177,10 @@ public java.lang.String getMetadataType() { *
    * Required. The message name of the metadata type for this long-running
    * operation.
+   *
    * If the response is in a different package from the rpc, a fully-qualified
    * message name must be used (e.g. `google.protobuf.Struct`).
+   *
    * Note: Altering this value constitutes a breaking change.
    * 
* @@ -367,7 +372,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * A message representing the message types used by a long-running operation.
+   *
    * Example:
+   *
    *   rpc LongRunningRecognize(LongRunningRecognizeRequest)
    *       returns (google.longrunning.Operation) {
    *     option (google.longrunning.operation_info) = {
@@ -574,8 +581,10 @@ public Builder mergeFrom(
      * Required. The message name of the primary return type for this
      * long-running operation.
      * This type will be used to deserialize the LRO's response.
+     *
      * If the response is in a different package from the rpc, a fully-qualified
      * message name must be used (e.g. `google.protobuf.Struct`).
+     *
      * Note: Altering this value constitutes a breaking change.
      * 
* @@ -601,8 +610,10 @@ public java.lang.String getResponseType() { * Required. The message name of the primary return type for this * long-running operation. * This type will be used to deserialize the LRO's response. + * * If the response is in a different package from the rpc, a fully-qualified * message name must be used (e.g. `google.protobuf.Struct`). + * * Note: Altering this value constitutes a breaking change. *
* @@ -628,8 +639,10 @@ public com.google.protobuf.ByteString getResponseTypeBytes() { * Required. The message name of the primary return type for this * long-running operation. * This type will be used to deserialize the LRO's response. + * * If the response is in a different package from the rpc, a fully-qualified * message name must be used (e.g. `google.protobuf.Struct`). + * * Note: Altering this value constitutes a breaking change. *
* @@ -654,8 +667,10 @@ public Builder setResponseType(java.lang.String value) { * Required. The message name of the primary return type for this * long-running operation. * This type will be used to deserialize the LRO's response. + * * If the response is in a different package from the rpc, a fully-qualified * message name must be used (e.g. `google.protobuf.Struct`). + * * Note: Altering this value constitutes a breaking change. *
* @@ -676,8 +691,10 @@ public Builder clearResponseType() { * Required. The message name of the primary return type for this * long-running operation. * This type will be used to deserialize the LRO's response. + * * If the response is in a different package from the rpc, a fully-qualified * message name must be used (e.g. `google.protobuf.Struct`). + * * Note: Altering this value constitutes a breaking change. *
* @@ -704,8 +721,10 @@ public Builder setResponseTypeBytes(com.google.protobuf.ByteString value) { *
      * Required. The message name of the metadata type for this long-running
      * operation.
+     *
      * If the response is in a different package from the rpc, a fully-qualified
      * message name must be used (e.g. `google.protobuf.Struct`).
+     *
      * Note: Altering this value constitutes a breaking change.
      * 
* @@ -730,8 +749,10 @@ public java.lang.String getMetadataType() { *
      * Required. The message name of the metadata type for this long-running
      * operation.
+     *
      * If the response is in a different package from the rpc, a fully-qualified
      * message name must be used (e.g. `google.protobuf.Struct`).
+     *
      * Note: Altering this value constitutes a breaking change.
      * 
* @@ -756,8 +777,10 @@ public com.google.protobuf.ByteString getMetadataTypeBytes() { *
      * Required. The message name of the metadata type for this long-running
      * operation.
+     *
      * If the response is in a different package from the rpc, a fully-qualified
      * message name must be used (e.g. `google.protobuf.Struct`).
+     *
      * Note: Altering this value constitutes a breaking change.
      * 
* @@ -781,8 +804,10 @@ public Builder setMetadataType(java.lang.String value) { *
      * Required. The message name of the metadata type for this long-running
      * operation.
+     *
      * If the response is in a different package from the rpc, a fully-qualified
      * message name must be used (e.g. `google.protobuf.Struct`).
+     *
      * Note: Altering this value constitutes a breaking change.
      * 
* @@ -802,8 +827,10 @@ public Builder clearMetadataType() { *
      * Required. The message name of the metadata type for this long-running
      * operation.
+     *
      * If the response is in a different package from the rpc, a fully-qualified
      * message name must be used (e.g. `google.protobuf.Struct`).
+     *
      * Note: Altering this value constitutes a breaking change.
      * 
* diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java index 2e65c6e69c..e0d5a389f2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java @@ -30,8 +30,10 @@ public interface OperationInfoOrBuilder * Required. The message name of the primary return type for this * long-running operation. * This type will be used to deserialize the LRO's response. + * * If the response is in a different package from the rpc, a fully-qualified * message name must be used (e.g. `google.protobuf.Struct`). + * * Note: Altering this value constitutes a breaking change. *
* @@ -47,8 +49,10 @@ public interface OperationInfoOrBuilder * Required. The message name of the primary return type for this * long-running operation. * This type will be used to deserialize the LRO's response. + * * If the response is in a different package from the rpc, a fully-qualified * message name must be used (e.g. `google.protobuf.Struct`). + * * Note: Altering this value constitutes a breaking change. *
* @@ -64,8 +68,10 @@ public interface OperationInfoOrBuilder *
    * Required. The message name of the metadata type for this long-running
    * operation.
+   *
    * If the response is in a different package from the rpc, a fully-qualified
    * message name must be used (e.g. `google.protobuf.Struct`).
+   *
    * Note: Altering this value constitutes a breaking change.
    * 
* @@ -80,8 +86,10 @@ public interface OperationInfoOrBuilder *
    * Required. The message name of the metadata type for this long-running
    * operation.
+   *
    * If the response is in a different package from the rpc, a fully-qualified
    * message name must be used (e.g. `google.protobuf.Struct`).
+   *
    * Note: Altering this value constitutes a breaking change.
    * 
* diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java index beb4b5e4d0..5ed218983d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java @@ -202,5 +202,5 @@ public interface OperationOrBuilder */ com.google.protobuf.AnyOrBuilder getResponseOrBuilder(); - public com.google.longrunning.Operation.ResultCase getResultCase(); + com.google.longrunning.Operation.ResultCase getResultCase(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java index 781db90574..18dae2a6fb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java @@ -37,6 +37,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r * Additional information regarding long-running operations. * In particular, this specifies the types that are returned from * long-running operations. + * * Required for methods that return `google.longrunning.Operation`; invalid * otherwise. *
@@ -116,18 +117,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pe\030\002 \001(\t2\252\005\n\nOperations\022\224\001\n\016ListOperatio" + "ns\022).google.longrunning.ListOperationsRe" + "quest\032*.google.longrunning.ListOperation" - + "sResponse\"+\202\323\344\223\002\027\022\025/v1/{name=operations}" - + "\332A\013name,filter\022\177\n\014GetOperation\022\'.google." + + "sResponse\"+\332A\013name,filter\202\323\344\223\002\027\022\025/v1/{na" + + "me=operations}\022\177\n\014GetOperation\022\'.google." + "longrunning.GetOperationRequest\032\035.google" - + ".longrunning.Operation\"\'\202\323\344\223\002\032\022\030/v1/{nam" - + "e=operations/**}\332A\004name\022~\n\017DeleteOperati" + + ".longrunning.Operation\"\'\332A\004name\202\323\344\223\002\032\022\030/" + + "v1/{name=operations/**}\022~\n\017DeleteOperati" + "on\022*.google.longrunning.DeleteOperationR" - + "equest\032\026.google.protobuf.Empty\"\'\202\323\344\223\002\032*\030" - + "/v1/{name=operations/**}\332A\004name\022\210\001\n\017Canc" + + "equest\032\026.google.protobuf.Empty\"\'\332A\004name\202" + + "\323\344\223\002\032*\030/v1/{name=operations/**}\022\210\001\n\017Canc" + "elOperation\022*.google.longrunning.CancelO" + "perationRequest\032\026.google.protobuf.Empty\"" - + "1\202\323\344\223\002$\"\037/v1/{name=operations/**}:cancel" - + ":\001*\332A\004name\022Z\n\rWaitOperation\022(.google.lon" + + "1\332A\004name\202\323\344\223\002$\"\037/v1/{name=operations/**}" + + ":cancel:\001*\022Z\n\rWaitOperation\022(.google.lon" + "grunning.WaitOperationRequest\032\035.google.l" + "ongrunning.Operation\"\000\032\035\312A\032longrunning.g" + "oogleapis.com:Z\n\016operation_info\022\036.google" diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java index 69570f9b3c..977afb0a08 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WaitOperationRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_WaitOperationRequest_descriptor; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java index 417e4ab37f..3a109711b9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BadRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_BadRequest_descriptor; } @@ -77,7 +72,9 @@ public interface FieldViolationOrBuilder * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -85,19 +82,25 @@ public interface FieldViolationOrBuilder * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message @@ -117,7 +120,9 @@ public interface FieldViolationOrBuilder * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -125,19 +130,25 @@ public interface FieldViolationOrBuilder * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message @@ -206,11 +217,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldViolation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_BadRequest_FieldViolation_descriptor; @@ -237,7 +243,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -245,19 +253,25 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message @@ -288,7 +302,9 @@ public java.lang.String getField() { * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -296,19 +312,25 @@ public java.lang.String getField() { * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message @@ -761,7 +783,9 @@ public Builder mergeFrom( * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -769,19 +793,25 @@ public Builder mergeFrom( * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message @@ -811,7 +841,9 @@ public java.lang.String getField() { * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -819,19 +851,25 @@ public java.lang.String getField() { * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message @@ -861,7 +899,9 @@ public com.google.protobuf.ByteString getFieldBytes() { * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -869,19 +909,25 @@ public com.google.protobuf.ByteString getFieldBytes() { * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message @@ -910,7 +956,9 @@ public Builder setField(java.lang.String value) { * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -918,19 +966,25 @@ public Builder setField(java.lang.String value) { * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message @@ -955,7 +1009,9 @@ public Builder clearField() { * A path that leads to a field in the request body. The value will be a * sequence of dot-separated identifiers that identify a protocol buffer * field. + * * Consider the following: + * * message CreateContactRequest { * message EmailAddress { * enum Type { @@ -963,19 +1019,25 @@ public Builder clearField() { * HOME = 1; * WORK = 2; * } + * * optional string email = 1; * repeated EmailType type = 2; * } + * * string full_name = 1; * repeated EmailAddress email_addresses = 2; * } + * * In this example, in proto `field` could take one of the following values: + * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` * value in the third `email_addresses` message. + * * In JSON, the same values are represented as: + * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the * first `emailAddresses` message diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Code.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Code.java index 4e9024417f..a762494b4c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Code.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Code.java @@ -23,6 +23,8 @@ * *
  * The canonical error codes for gRPC APIs.
+ *
+ *
  * Sometimes multiple error codes may apply.  Services should return
  * the most specific error code that applies.  For example, prefer
  * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
@@ -37,6 +39,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
    *
    * 
    * Not an error; returned on success.
+   *
    * HTTP Mapping: 200 OK
    * 
* @@ -48,6 +51,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * *
    * The operation was cancelled, typically by the caller.
+   *
    * HTTP Mapping: 499 Client Closed Request
    * 
* @@ -63,6 +67,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * an error space that is not known in this address space. Also * errors raised by APIs that do not return enough error information * may be converted to this error. + * * HTTP Mapping: 500 Internal Server Error *
* @@ -77,6 +82,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments * that are problematic regardless of the state of the system * (e.g., a malformed file name). + * * HTTP Mapping: 400 Bad Request *
* @@ -92,6 +98,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * even if the operation has completed successfully. For example, a * successful response from a server could have been delayed long * enough for the deadline to expire. + * * HTTP Mapping: 504 Gateway Timeout *
* @@ -103,11 +110,13 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * *
    * Some requested entity (e.g., file or directory) was not found.
+   *
    * Note to server developers: if a request is denied for an entire class
    * of users, such as gradual feature rollout or undocumented allowlist,
    * `NOT_FOUND` may be used. If a request is denied for some users within
    * a class of users, such as user-based access control, `PERMISSION_DENIED`
    * must be used.
+   *
    * HTTP Mapping: 404 Not Found
    * 
* @@ -120,6 +129,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The entity that a client attempted to create (e.g., file or directory)
    * already exists.
+   *
    * HTTP Mapping: 409 Conflict
    * 
* @@ -138,6 +148,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * instead for those errors). This error code does not imply the * request is valid or the requested entity exists or satisfies * other pre-conditions. + * * HTTP Mapping: 403 Forbidden *
* @@ -150,6 +161,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The request does not have valid authentication credentials for the
    * operation.
+   *
    * HTTP Mapping: 401 Unauthorized
    * 
* @@ -162,6 +174,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * Some resource has been exhausted, perhaps a per-user quota, or
    * perhaps the entire file system is out of space.
+   *
    * HTTP Mapping: 429 Too Many Requests
    * 
* @@ -176,6 +189,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * required for the operation's execution. For example, the directory * to be deleted is non-empty, an rmdir operation is applied to * a non-directory, etc. + * * Service implementors can use the following guidelines to decide * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: * (a) Use `UNAVAILABLE` if the client can retry just the failing call. @@ -187,6 +201,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * fails because the directory is non-empty, `FAILED_PRECONDITION` * should be returned since the client should not retry unless * the files are deleted from the directory. + * * HTTP Mapping: 400 Bad Request *
* @@ -199,8 +214,10 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The operation was aborted, typically due to a concurrency issue such as
    * a sequencer check failure or transaction abort.
+   *
    * See the guidelines above for deciding between `FAILED_PRECONDITION`,
    * `ABORTED`, and `UNAVAILABLE`.
+   *
    * HTTP Mapping: 409 Conflict
    * 
* @@ -213,17 +230,20 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The operation was attempted past the valid range.  E.g., seeking or
    * reading past end-of-file.
+   *
    * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
    * be fixed if the system state changes. For example, a 32-bit file
    * system will generate `INVALID_ARGUMENT` if asked to read at an
    * offset that is not in the range [0,2^32-1], but it will generate
    * `OUT_OF_RANGE` if asked to read from an offset past the current
    * file size.
+   *
    * There is a fair bit of overlap between `FAILED_PRECONDITION` and
    * `OUT_OF_RANGE`.  We recommend using `OUT_OF_RANGE` (the more specific
    * error) when it applies so that callers who are iterating through
    * a space can easily look for an `OUT_OF_RANGE` error to detect when
    * they are done.
+   *
    * HTTP Mapping: 400 Bad Request
    * 
* @@ -236,6 +256,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The operation is not implemented or is not supported/enabled in this
    * service.
+   *
    * HTTP Mapping: 501 Not Implemented
    * 
* @@ -249,6 +270,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * Internal errors. This means that some invariants expected by the * underlying system have been broken. This error code is reserved * for serious errors. + * * HTTP Mapping: 500 Internal Server Error *
* @@ -263,8 +285,10 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * transient condition, which can be corrected by retrying with * a backoff. Note that it is not always safe to retry * non-idempotent operations. + * * See the guidelines above for deciding between `FAILED_PRECONDITION`, * `ABORTED`, and `UNAVAILABLE`. + * * HTTP Mapping: 503 Service Unavailable *
* @@ -276,6 +300,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * *
    * Unrecoverable data loss or corruption.
+   *
    * HTTP Mapping: 500 Internal Server Error
    * 
* @@ -290,6 +315,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * *
    * Not an error; returned on success.
+   *
    * HTTP Mapping: 200 OK
    * 
* @@ -301,6 +327,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * *
    * The operation was cancelled, typically by the caller.
+   *
    * HTTP Mapping: 499 Client Closed Request
    * 
* @@ -316,6 +343,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * an error space that is not known in this address space. Also * errors raised by APIs that do not return enough error information * may be converted to this error. + * * HTTP Mapping: 500 Internal Server Error *
* @@ -330,6 +358,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments * that are problematic regardless of the state of the system * (e.g., a malformed file name). + * * HTTP Mapping: 400 Bad Request * * @@ -345,6 +374,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * even if the operation has completed successfully. For example, a * successful response from a server could have been delayed long * enough for the deadline to expire. + * * HTTP Mapping: 504 Gateway Timeout * * @@ -356,11 +386,13 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * *
    * Some requested entity (e.g., file or directory) was not found.
+   *
    * Note to server developers: if a request is denied for an entire class
    * of users, such as gradual feature rollout or undocumented allowlist,
    * `NOT_FOUND` may be used. If a request is denied for some users within
    * a class of users, such as user-based access control, `PERMISSION_DENIED`
    * must be used.
+   *
    * HTTP Mapping: 404 Not Found
    * 
* @@ -373,6 +405,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The entity that a client attempted to create (e.g., file or directory)
    * already exists.
+   *
    * HTTP Mapping: 409 Conflict
    * 
* @@ -391,6 +424,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * instead for those errors). This error code does not imply the * request is valid or the requested entity exists or satisfies * other pre-conditions. + * * HTTP Mapping: 403 Forbidden * * @@ -403,6 +437,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The request does not have valid authentication credentials for the
    * operation.
+   *
    * HTTP Mapping: 401 Unauthorized
    * 
* @@ -415,6 +450,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * Some resource has been exhausted, perhaps a per-user quota, or
    * perhaps the entire file system is out of space.
+   *
    * HTTP Mapping: 429 Too Many Requests
    * 
* @@ -429,6 +465,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * required for the operation's execution. For example, the directory * to be deleted is non-empty, an rmdir operation is applied to * a non-directory, etc. + * * Service implementors can use the following guidelines to decide * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: * (a) Use `UNAVAILABLE` if the client can retry just the failing call. @@ -440,6 +477,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * fails because the directory is non-empty, `FAILED_PRECONDITION` * should be returned since the client should not retry unless * the files are deleted from the directory. + * * HTTP Mapping: 400 Bad Request * * @@ -452,8 +490,10 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The operation was aborted, typically due to a concurrency issue such as
    * a sequencer check failure or transaction abort.
+   *
    * See the guidelines above for deciding between `FAILED_PRECONDITION`,
    * `ABORTED`, and `UNAVAILABLE`.
+   *
    * HTTP Mapping: 409 Conflict
    * 
* @@ -466,17 +506,20 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The operation was attempted past the valid range.  E.g., seeking or
    * reading past end-of-file.
+   *
    * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
    * be fixed if the system state changes. For example, a 32-bit file
    * system will generate `INVALID_ARGUMENT` if asked to read at an
    * offset that is not in the range [0,2^32-1], but it will generate
    * `OUT_OF_RANGE` if asked to read from an offset past the current
    * file size.
+   *
    * There is a fair bit of overlap between `FAILED_PRECONDITION` and
    * `OUT_OF_RANGE`.  We recommend using `OUT_OF_RANGE` (the more specific
    * error) when it applies so that callers who are iterating through
    * a space can easily look for an `OUT_OF_RANGE` error to detect when
    * they are done.
+   *
    * HTTP Mapping: 400 Bad Request
    * 
* @@ -489,6 +532,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { *
    * The operation is not implemented or is not supported/enabled in this
    * service.
+   *
    * HTTP Mapping: 501 Not Implemented
    * 
* @@ -502,6 +546,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * Internal errors. This means that some invariants expected by the * underlying system have been broken. This error code is reserved * for serious errors. + * * HTTP Mapping: 500 Internal Server Error * * @@ -516,8 +561,10 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * transient condition, which can be corrected by retrying with * a backoff. Note that it is not always safe to retry * non-idempotent operations. + * * See the guidelines above for deciding between `FAILED_PRECONDITION`, * `ABORTED`, and `UNAVAILABLE`. + * * HTTP Mapping: 503 Service Unavailable * * @@ -529,6 +576,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * *
    * Unrecoverable data loss or corruption.
+   *
    * HTTP Mapping: 500 Internal Server Error
    * 
* diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java index 278956d960..0397da4118 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java @@ -38,7 +38,7 @@ private DebugInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private DebugInfo() { - stackEntries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + stackEntries_ = com.google.protobuf.LazyStringArrayList.emptyList(); detail_ = ""; } @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DebugInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_DebugInfo_descriptor; } @@ -68,7 +63,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int STACK_ENTRIES_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList stackEntries_; + private com.google.protobuf.LazyStringArrayList stackEntries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -389,8 +385,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - stackEntries_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + stackEntries_ = com.google.protobuf.LazyStringArrayList.emptyList(); detail_ = ""; return this; } @@ -417,7 +412,6 @@ public com.google.rpc.DebugInfo build() { @java.lang.Override public com.google.rpc.DebugInfo buildPartial() { com.google.rpc.DebugInfo result = new com.google.rpc.DebugInfo(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -425,16 +419,12 @@ public com.google.rpc.DebugInfo buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.rpc.DebugInfo result) { - if (((bitField0_ & 0x00000001) != 0)) { - stackEntries_ = stackEntries_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.stackEntries_ = stackEntries_; - } - private void buildPartial0(com.google.rpc.DebugInfo result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + stackEntries_.makeImmutable(); + result.stackEntries_ = stackEntries_; + } if (((from_bitField0_ & 0x00000002) != 0)) { result.detail_ = detail_; } @@ -488,7 +478,7 @@ public Builder mergeFrom(com.google.rpc.DebugInfo other) { if (!other.stackEntries_.isEmpty()) { if (stackEntries_.isEmpty()) { stackEntries_ = other.stackEntries_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureStackEntriesIsMutable(); stackEntries_.addAll(other.stackEntries_); @@ -558,14 +548,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList stackEntries_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList stackEntries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureStackEntriesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!stackEntries_.isModifiable()) { stackEntries_ = new com.google.protobuf.LazyStringArrayList(stackEntries_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -579,7 +569,8 @@ private void ensureStackEntriesIsMutable() { * @return A list containing the stackEntries. */ public com.google.protobuf.ProtocolStringList getStackEntriesList() { - return stackEntries_.getUnmodifiableView(); + stackEntries_.makeImmutable(); + return stackEntries_; } /** * @@ -644,6 +635,7 @@ public Builder setStackEntries(int index, java.lang.String value) { } ensureStackEntriesIsMutable(); stackEntries_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -665,6 +657,7 @@ public Builder addStackEntries(java.lang.String value) { } ensureStackEntriesIsMutable(); stackEntries_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -683,6 +676,7 @@ public Builder addStackEntries(java.lang.String value) { public Builder addAllStackEntries(java.lang.Iterable values) { ensureStackEntriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stackEntries_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -698,8 +692,9 @@ public Builder addAllStackEntries(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearStackEntries() { - stackEntries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + stackEntries_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } @@ -722,6 +717,7 @@ public Builder addStackEntriesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureStackEntriesIsMutable(); stackEntries_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java index b5c4a71be2..72de0ffe5f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java @@ -23,8 +23,10 @@ * *
  * Describes the cause of the error with structured details.
+ *
  * Example of an error when contacting the "pubsub.googleapis.com" API when it
  * is not enabled:
+ *
  *     { "reason": "API_DISABLED"
  *       "domain": "googleapis.com"
  *       "metadata": {
@@ -32,9 +34,12 @@
  *         "service": "pubsub.googleapis.com"
  *       }
  *     }
+ *
  * This response indicates that the pubsub.googleapis.com API is not enabled.
+ *
  * Example of an error that is returned when attempting to create a Spanner
  * instance in a region that is out of stock:
+ *
  *     { "reason": "STOCKOUT"
  *       "domain": "spanner.googleapis.com",
  *       "metadata": {
@@ -66,11 +71,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ErrorInfo();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_ErrorInfo_descriptor;
   }
@@ -245,6 +245,7 @@ public int getMetadataCount() {
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
@@ -273,6 +274,7 @@ public java.util.Map getMetadata() {
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
@@ -292,6 +294,7 @@ public java.util.Map getMetadataMap() {
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
@@ -318,6 +321,7 @@ public java.util.Map getMetadataMap() {
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
@@ -528,8 +532,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * Describes the cause of the error with structured details.
+   *
    * Example of an error when contacting the "pubsub.googleapis.com" API when it
    * is not enabled:
+   *
    *     { "reason": "API_DISABLED"
    *       "domain": "googleapis.com"
    *       "metadata": {
@@ -537,9 +543,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *         "service": "pubsub.googleapis.com"
    *       }
    *     }
+   *
    * This response indicates that the pubsub.googleapis.com API is not enabled.
+   *
    * Example of an error that is returned when attempting to create a Spanner
    * instance in a region that is out of stock:
+   *
    *     { "reason": "STOCKOUT"
    *       "domain": "spanner.googleapis.com",
    *       "metadata": {
@@ -1061,6 +1070,7 @@ public int getMetadataCount() {
      *
      * 
      * Additional structured details about this error.
+     *
      * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
      * length. When identifying the current value of an exceeded limit, the units
      * should be contained in the key, not the value.  For example, rather than
@@ -1089,6 +1099,7 @@ public java.util.Map getMetadata() {
      *
      * 
      * Additional structured details about this error.
+     *
      * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
      * length. When identifying the current value of an exceeded limit, the units
      * should be contained in the key, not the value.  For example, rather than
@@ -1108,6 +1119,7 @@ public java.util.Map getMetadataMap() {
      *
      * 
      * Additional structured details about this error.
+     *
      * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
      * length. When identifying the current value of an exceeded limit, the units
      * should be contained in the key, not the value.  For example, rather than
@@ -1134,6 +1146,7 @@ public java.util.Map getMetadataMap() {
      *
      * 
      * Additional structured details about this error.
+     *
      * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
      * length. When identifying the current value of an exceeded limit, the units
      * should be contained in the key, not the value.  For example, rather than
@@ -1166,6 +1179,7 @@ public Builder clearMetadata() {
      *
      * 
      * Additional structured details about this error.
+     *
      * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
      * length. When identifying the current value of an exceeded limit, the units
      * should be contained in the key, not the value.  For example, rather than
@@ -1194,6 +1208,7 @@ public java.util.Map getMutableMetadata() {
      *
      * 
      * Additional structured details about this error.
+     *
      * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
      * length. When identifying the current value of an exceeded limit, the units
      * should be contained in the key, not the value.  For example, rather than
@@ -1220,6 +1235,7 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) {
      *
      * 
      * Additional structured details about this error.
+     *
      * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
      * length. When identifying the current value of an exceeded limit, the units
      * should be contained in the key, not the value.  For example, rather than
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java
index c563c2a587..f92f526b7f 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java
@@ -96,6 +96,7 @@ public interface ErrorInfoOrBuilder
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
@@ -112,6 +113,7 @@ public interface ErrorInfoOrBuilder
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
@@ -131,6 +133,7 @@ public interface ErrorInfoOrBuilder
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
@@ -147,6 +150,7 @@ public interface ErrorInfoOrBuilder
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
@@ -167,6 +171,7 @@ java.lang.String getMetadataOrDefault(
    *
    * 
    * Additional structured details about this error.
+   *
    * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
    * length. When identifying the current value of an exceeded limit, the units
    * should be contained in the key, not the value.  For example, rather than
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Help.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Help.java
index e9063f68b9..3c2774d924 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Help.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Help.java
@@ -23,6 +23,7 @@
  *
  * 
  * Provides links to documentation or for performing an out of band action.
+ *
  * For example, if a quota check failed with an error indicating the calling
  * project hasn't enabled the accessed service, this can contain a URL pointing
  * directly to the right place in the developer console to flip the bit.
@@ -50,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Help();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_Help_descriptor;
   }
@@ -152,11 +148,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Link();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-      return this.unknownFields;
-    }
-
     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_Help_Link_descriptor;
     }
@@ -1145,6 +1136,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * Provides links to documentation or for performing an out of band action.
+   *
    * For example, if a quota check failed with an error indicating the calling
    * project hasn't enabled the accessed service, this can contain a URL pointing
    * directly to the right place in the developer console to flip the bit.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java
index b91c680d20..c931a90820 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LocalizedMessage();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_LocalizedMessage_descriptor;
   }
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java
index 06c6a00f15..0a1fe4c86f 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java
@@ -23,6 +23,7 @@
  *
  * 
  * Describes what preconditions have failed.
+ *
  * For example, if an RPC failed because it required the Terms of Service to be
  * acknowledged, it could list the terms of service violation in the
  * PreconditionFailure message.
@@ -50,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PreconditionFailure();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.rpc.ErrorDetailsProto
         .internal_static_google_rpc_PreconditionFailure_descriptor;
@@ -139,6 +135,7 @@ public interface ViolationOrBuilder
      * 
      * A description of how the precondition failed. Developers can use this
      * description to understand how to fix the failure.
+     *
      * For example: "Terms of service not accepted".
      * 
* @@ -153,6 +150,7 @@ public interface ViolationOrBuilder *
      * A description of how the precondition failed. Developers can use this
      * description to understand how to fix the failure.
+     *
      * For example: "Terms of service not accepted".
      * 
* @@ -193,11 +191,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Violation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_PreconditionFailure_Violation_descriptor; @@ -333,6 +326,7 @@ public com.google.protobuf.ByteString getSubjectBytes() { *
      * A description of how the precondition failed. Developers can use this
      * description to understand how to fix the failure.
+     *
      * For example: "Terms of service not accepted".
      * 
* @@ -358,6 +352,7 @@ public java.lang.String getDescription() { *
      * A description of how the precondition failed. Developers can use this
      * description to understand how to fix the failure.
+     *
      * For example: "Terms of service not accepted".
      * 
* @@ -1010,6 +1005,7 @@ public Builder setSubjectBytes(com.google.protobuf.ByteString value) { *
        * A description of how the precondition failed. Developers can use this
        * description to understand how to fix the failure.
+       *
        * For example: "Terms of service not accepted".
        * 
* @@ -1034,6 +1030,7 @@ public java.lang.String getDescription() { *
        * A description of how the precondition failed. Developers can use this
        * description to understand how to fix the failure.
+       *
        * For example: "Terms of service not accepted".
        * 
* @@ -1058,6 +1055,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { *
        * A description of how the precondition failed. Developers can use this
        * description to understand how to fix the failure.
+       *
        * For example: "Terms of service not accepted".
        * 
* @@ -1081,6 +1079,7 @@ public Builder setDescription(java.lang.String value) { *
        * A description of how the precondition failed. Developers can use this
        * description to understand how to fix the failure.
+       *
        * For example: "Terms of service not accepted".
        * 
* @@ -1100,6 +1099,7 @@ public Builder clearDescription() { *
        * A description of how the precondition failed. Developers can use this
        * description to understand how to fix the failure.
+       *
        * For example: "Terms of service not accepted".
        * 
* @@ -1418,6 +1418,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Describes what preconditions have failed.
+   *
    * For example, if an RPC failed because it required the Terms of Service to be
    * acknowledged, it could list the terms of service violation in the
    * PreconditionFailure message.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java
index 5b9a09d8e5..4621e1347f 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java
@@ -23,12 +23,14 @@
  *
  * 
  * Describes how a quota check failed.
+ *
  * For example if a daily limit was exceeded for the calling project,
  * a service could respond with a QuotaFailure detail containing the project
  * id and the description of the quota limit that was exceeded.  If the
  * calling project hasn't enabled the service in the developer console, then
  * a service could respond with the project id and set `service_disabled`
  * to true.
+ *
  * Also see RetryInfo and Help types for other details about handling a
  * quota failure.
  * 
@@ -55,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QuotaFailure(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_QuotaFailure_descriptor; } @@ -115,6 +112,7 @@ public interface ViolationOrBuilder * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -132,6 +130,7 @@ public interface ViolationOrBuilder * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -173,11 +172,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Violation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_QuotaFailure_Violation_descriptor; @@ -260,6 +254,7 @@ public com.google.protobuf.ByteString getSubjectBytes() { * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -288,6 +283,7 @@ public java.lang.String getDescription() { * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -803,6 +799,7 @@ public Builder setSubjectBytes(com.google.protobuf.ByteString value) { * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -830,6 +827,7 @@ public java.lang.String getDescription() { * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -857,6 +855,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -883,6 +882,7 @@ public Builder setDescription(java.lang.String value) { * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -905,6 +905,7 @@ public Builder clearDescription() { * description to find more about the quota configuration in the service's * public documentation, or find the relevant quota limit to adjust through * developer console. + * * For example: "Service disabled" or "Daily Limit for read operations * exceeded". *
@@ -1224,12 +1225,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Describes how a quota check failed.
+   *
    * For example if a daily limit was exceeded for the calling project,
    * a service could respond with a QuotaFailure detail containing the project
    * id and the description of the quota limit that was exceeded.  If the
    * calling project hasn't enabled the service in the developer console, then
    * a service could respond with the project id and set `service_disabled`
    * to true.
+   *
    * Also see RetryInfo and Help types for other details about handling a
    * quota failure.
    * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java index 74a95775da..c1e7e4f080 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RequestInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_RequestInfo_descriptor; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java index ae4be5457a..6d943f04b0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_ResourceInfo_descriptor; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java index 51e56791ad..1f318b97d6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java @@ -25,8 +25,10 @@ * Describes when the clients can retry a failed request. Clients could ignore * the recommendation here or retry when this information is missing from error * responses. + * * It's always recommended that clients should use exponential backoff when * retrying. + * * Clients should wait until `retry_delay` amount of time has passed since * receiving the error response before retrying. If retrying requests also * fail, clients should use an exponential backoff scheme to gradually increase @@ -55,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetryInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_RetryInfo_descriptor; } @@ -287,8 +284,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Describes when the clients can retry a failed request. Clients could ignore * the recommendation here or retry when this information is missing from error * responses. + * * It's always recommended that clients should use exponential backoff when * retrying. + * * Clients should wait until `retry_delay` amount of time has passed since * receiving the error response before retrying. If retrying requests also * fail, clients should use an exponential backoff scheme to gradually increase diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Status.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Status.java index 44168247e2..5d7ae5e3f7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Status.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Status.java @@ -26,6 +26,7 @@ * different programming environments, including REST APIs and RPC APIs. It is * used by [gRPC](https://github.com/grpc). Each `Status` message contains * three pieces of data: error code, error message, and error details. + * * You can find out more about this error model and how to work with it in the * [API Design Guide](https://cloud.google.com/apis/design/errors). *
@@ -53,11 +54,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Status(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.StatusProto.internal_static_google_rpc_Status_descriptor; } @@ -406,6 +402,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * different programming environments, including REST APIs and RPC APIs. It is * used by [gRPC](https://github.com/grpc). Each `Status` message contains * three pieces of data: error code, error message, and error details. + * * You can find out more about this error model and how to work with it in the * [API Design Guide](https://cloud.google.com/apis/design/errors). *
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java index 1a0db34e7f..b4f41721bf 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java @@ -23,15 +23,19 @@ * *
  * This message defines the standard attribute vocabulary for Google APIs.
+ *
  * An attribute is a piece of metadata that describes an activity on a network
  * service. For example, the size of an HTTP request, or the status code of
  * an HTTP response.
+ *
  * Each attribute has a type and a name, which is logically defined as
  * a proto message field in `AttributeContext`. The field type becomes the
  * attribute type, and the field path becomes the attribute name. For example,
  * the attribute `source.ip` maps to field `AttributeContext.source.ip`.
+ *
  * This message definition is guaranteed not to have any wire breaking change.
  * So you can use it directly for passing attributes across different systems.
+ *
  * NOTE: Different system may generate different subset of attributes. Please
  * verify the system specification before relying on an attribute generated
  * a system.
@@ -59,11 +63,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AttributeContext();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.rpc.context.AttributeContextProto
         .internal_static_google_rpc_context_AttributeContext_descriptor;
@@ -272,11 +271,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Peer();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-      return this.unknownFields;
-    }
-
     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.rpc.context.AttributeContextProto
           .internal_static_google_rpc_context_AttributeContext_Peer_descriptor;
@@ -1827,11 +1821,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Api();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-      return this.unknownFields;
-    }
-
     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.rpc.context.AttributeContextProto
           .internal_static_google_rpc_context_AttributeContext_Api_descriptor;
@@ -3046,12 +3035,14 @@ public interface AuthOrBuilder
      * the audience (`aud`) claim within a JWT. The audience
      * value(s) depends on the `issuer`, but typically include one or more of
      * the following pieces of information:
+     *
      * *  The services intended to receive the credential. For example,
      *    ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
      * *  A set of service-based scopes. For example,
      *    ["https://www.googleapis.com/auth/cloud-platform"].
      * *  The client id of an app, such as the Firebase project id for JWTs
      *    from Firebase Auth.
+     *
      * Consult the documentation for the credential issuer to determine the
      * information provided.
      * 
@@ -3069,12 +3060,14 @@ public interface AuthOrBuilder * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. *
@@ -3092,12 +3085,14 @@ public interface AuthOrBuilder * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. *
@@ -3116,12 +3111,14 @@ public interface AuthOrBuilder * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. *
@@ -3172,6 +3169,7 @@ public interface AuthOrBuilder * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -3179,6 +3177,7 @@ public interface AuthOrBuilder * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. *
@@ -3196,6 +3195,7 @@ public interface AuthOrBuilder * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -3203,6 +3203,7 @@ public interface AuthOrBuilder * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. *
@@ -3220,6 +3221,7 @@ public interface AuthOrBuilder * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -3227,6 +3229,7 @@ public interface AuthOrBuilder * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. *
@@ -3243,6 +3246,7 @@ public interface AuthOrBuilder * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" *
@@ -3260,6 +3264,7 @@ public interface AuthOrBuilder * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" *
@@ -3277,6 +3282,7 @@ public interface AuthOrBuilder * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" *
@@ -3295,6 +3301,7 @@ public interface AuthOrBuilder * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" *
@@ -3329,9 +3336,9 @@ private Auth(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Auth() { principal_ = ""; - audiences_ = com.google.protobuf.LazyStringArrayList.EMPTY; + audiences_ = com.google.protobuf.LazyStringArrayList.emptyList(); presenter_ = ""; - accessLevels_ = com.google.protobuf.LazyStringArrayList.EMPTY; + accessLevels_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -3340,11 +3347,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Auth(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Auth_descriptor; @@ -3422,7 +3424,8 @@ public com.google.protobuf.ByteString getPrincipalBytes() { public static final int AUDIENCES_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList audiences_; + private com.google.protobuf.LazyStringArrayList audiences_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -3431,12 +3434,14 @@ public com.google.protobuf.ByteString getPrincipalBytes() { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. *
@@ -3456,12 +3461,14 @@ public com.google.protobuf.ProtocolStringList getAudiencesList() { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -3481,12 +3488,14 @@ public int getAudiencesCount() { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -3507,12 +3516,14 @@ public java.lang.String getAudiences(int index) { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -3593,6 +3604,7 @@ public com.google.protobuf.ByteString getPresenterBytes() { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -3600,6 +3612,7 @@ public com.google.protobuf.ByteString getPresenterBytes() { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -3620,6 +3633,7 @@ public boolean hasClaims() { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -3627,6 +3641,7 @@ public boolean hasClaims() { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -3647,6 +3662,7 @@ public com.google.protobuf.Struct getClaims() { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -3654,6 +3670,7 @@ public com.google.protobuf.Struct getClaims() { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -3668,7 +3685,8 @@ public com.google.protobuf.StructOrBuilder getClaimsOrBuilder() { public static final int ACCESS_LEVELS_FIELD_NUMBER = 5; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList accessLevels_; + private com.google.protobuf.LazyStringArrayList accessLevels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -3677,6 +3695,7 @@ public com.google.protobuf.StructOrBuilder getClaimsOrBuilder() { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -3696,6 +3715,7 @@ public com.google.protobuf.ProtocolStringList getAccessLevelsList() { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -3715,6 +3735,7 @@ public int getAccessLevelsCount() { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -3735,6 +3756,7 @@ public java.lang.String getAccessLevels(int index) { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -4006,16 +4028,14 @@ public Builder clear() { super.clear(); bitField0_ = 0; principal_ = ""; - audiences_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + audiences_ = com.google.protobuf.LazyStringArrayList.emptyList(); presenter_ = ""; claims_ = null; if (claimsBuilder_ != null) { claimsBuilder_.dispose(); claimsBuilder_ = null; } - accessLevels_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + accessLevels_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -4043,7 +4063,6 @@ public com.google.rpc.context.AttributeContext.Auth build() { public com.google.rpc.context.AttributeContext.Auth buildPartial() { com.google.rpc.context.AttributeContext.Auth result = new com.google.rpc.context.AttributeContext.Auth(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -4051,30 +4070,25 @@ public com.google.rpc.context.AttributeContext.Auth buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.rpc.context.AttributeContext.Auth result) { - if (((bitField0_ & 0x00000002) != 0)) { - audiences_ = audiences_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.audiences_ = audiences_; - if (((bitField0_ & 0x00000010) != 0)) { - accessLevels_ = accessLevels_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.accessLevels_ = accessLevels_; - } - private void buildPartial0(com.google.rpc.context.AttributeContext.Auth result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.principal_ = principal_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + audiences_.makeImmutable(); + result.audiences_ = audiences_; + } if (((from_bitField0_ & 0x00000004) != 0)) { result.presenter_ = presenter_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.claims_ = claimsBuilder_ == null ? claims_ : claimsBuilder_.build(); } + if (((from_bitField0_ & 0x00000010) != 0)) { + accessLevels_.makeImmutable(); + result.accessLevels_ = accessLevels_; + } } @java.lang.Override @@ -4132,7 +4146,7 @@ public Builder mergeFrom(com.google.rpc.context.AttributeContext.Auth other) { if (!other.audiences_.isEmpty()) { if (audiences_.isEmpty()) { audiences_ = other.audiences_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureAudiencesIsMutable(); audiences_.addAll(other.audiences_); @@ -4150,7 +4164,7 @@ public Builder mergeFrom(com.google.rpc.context.AttributeContext.Auth other) { if (!other.accessLevels_.isEmpty()) { if (accessLevels_.isEmpty()) { accessLevels_ = other.accessLevels_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ |= 0x00000010; } else { ensureAccessLevelsIsMutable(); accessLevels_.addAll(other.accessLevels_); @@ -4360,14 +4374,14 @@ public Builder setPrincipalBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList audiences_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList audiences_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAudiencesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!audiences_.isModifiable()) { audiences_ = new com.google.protobuf.LazyStringArrayList(audiences_); - bitField0_ |= 0x00000002; } + bitField0_ |= 0x00000002; } /** * @@ -4377,12 +4391,14 @@ private void ensureAudiencesIsMutable() { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4392,7 +4408,8 @@ private void ensureAudiencesIsMutable() { * @return A list containing the audiences. */ public com.google.protobuf.ProtocolStringList getAudiencesList() { - return audiences_.getUnmodifiableView(); + audiences_.makeImmutable(); + return audiences_; } /** * @@ -4402,12 +4419,14 @@ public com.google.protobuf.ProtocolStringList getAudiencesList() { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4427,12 +4446,14 @@ public int getAudiencesCount() { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4453,12 +4474,14 @@ public java.lang.String getAudiences(int index) { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4479,12 +4502,14 @@ public com.google.protobuf.ByteString getAudiencesBytes(int index) { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4501,6 +4526,7 @@ public Builder setAudiences(int index, java.lang.String value) { } ensureAudiencesIsMutable(); audiences_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -4512,12 +4538,14 @@ public Builder setAudiences(int index, java.lang.String value) { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4533,6 +4561,7 @@ public Builder addAudiences(java.lang.String value) { } ensureAudiencesIsMutable(); audiences_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -4544,12 +4573,14 @@ public Builder addAudiences(java.lang.String value) { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4562,6 +4593,7 @@ public Builder addAudiences(java.lang.String value) { public Builder addAllAudiences(java.lang.Iterable values) { ensureAudiencesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audiences_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -4573,12 +4605,14 @@ public Builder addAllAudiences(java.lang.Iterable values) { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4588,8 +4622,9 @@ public Builder addAllAudiences(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearAudiences() { - audiences_ = com.google.protobuf.LazyStringArrayList.EMPTY; + audiences_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -4601,12 +4636,14 @@ public Builder clearAudiences() { * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of * the following pieces of information: + * * * The services intended to receive the credential. For example, * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs * from Firebase Auth. + * * Consult the documentation for the credential issuer to determine the * information provided. * @@ -4623,6 +4660,7 @@ public Builder addAudiencesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureAudiencesIsMutable(); audiences_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -4762,6 +4800,7 @@ public Builder setPresenterBytes(com.google.protobuf.ByteString value) { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -4769,6 +4808,7 @@ public Builder setPresenterBytes(com.google.protobuf.ByteString value) { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -4788,6 +4828,7 @@ public boolean hasClaims() { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -4795,6 +4836,7 @@ public boolean hasClaims() { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -4818,6 +4860,7 @@ public com.google.protobuf.Struct getClaims() { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -4825,6 +4868,7 @@ public com.google.protobuf.Struct getClaims() { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -4852,6 +4896,7 @@ public Builder setClaims(com.google.protobuf.Struct value) { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -4859,6 +4904,7 @@ public Builder setClaims(com.google.protobuf.Struct value) { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -4883,6 +4929,7 @@ public Builder setClaims(com.google.protobuf.Struct.Builder builderForValue) { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -4890,6 +4937,7 @@ public Builder setClaims(com.google.protobuf.Struct.Builder builderForValue) { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -4920,6 +4968,7 @@ public Builder mergeClaims(com.google.protobuf.Struct value) { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -4927,6 +4976,7 @@ public Builder mergeClaims(com.google.protobuf.Struct value) { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -4951,6 +5001,7 @@ public Builder clearClaims() { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -4958,6 +5009,7 @@ public Builder clearClaims() { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -4977,6 +5029,7 @@ public com.google.protobuf.Struct.Builder getClaimsBuilder() { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -4984,6 +5037,7 @@ public com.google.protobuf.Struct.Builder getClaimsBuilder() { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -5005,6 +5059,7 @@ public com.google.protobuf.StructOrBuilder getClaimsOrBuilder() { * `{key: value}` pairs for standard and private claims. The following * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: + * * {'iss': 'accounts.google.com', * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], @@ -5012,6 +5067,7 @@ public com.google.protobuf.StructOrBuilder getClaimsOrBuilder() { * 'email': 'jsmith@example.com', * 'iat': 1353601026, * 'exp': 1353604926} + * * SAML assertions are similarly specified, but with an identity provider * dependent structure. * @@ -5035,14 +5091,14 @@ public com.google.protobuf.StructOrBuilder getClaimsOrBuilder() { return claimsBuilder_; } - private com.google.protobuf.LazyStringList accessLevels_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList accessLevels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAccessLevelsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!accessLevels_.isModifiable()) { accessLevels_ = new com.google.protobuf.LazyStringArrayList(accessLevels_); - bitField0_ |= 0x00000010; } + bitField0_ |= 0x00000010; } /** * @@ -5052,6 +5108,7 @@ private void ensureAccessLevelsIsMutable() { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5061,7 +5118,8 @@ private void ensureAccessLevelsIsMutable() { * @return A list containing the accessLevels. */ public com.google.protobuf.ProtocolStringList getAccessLevelsList() { - return accessLevels_.getUnmodifiableView(); + accessLevels_.makeImmutable(); + return accessLevels_; } /** * @@ -5071,6 +5129,7 @@ public com.google.protobuf.ProtocolStringList getAccessLevelsList() { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5090,6 +5149,7 @@ public int getAccessLevelsCount() { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5110,6 +5170,7 @@ public java.lang.String getAccessLevels(int index) { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5130,6 +5191,7 @@ public com.google.protobuf.ByteString getAccessLevelsBytes(int index) { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5146,6 +5208,7 @@ public Builder setAccessLevels(int index, java.lang.String value) { } ensureAccessLevelsIsMutable(); accessLevels_.set(index, value); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5157,6 +5220,7 @@ public Builder setAccessLevels(int index, java.lang.String value) { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5172,6 +5236,7 @@ public Builder addAccessLevels(java.lang.String value) { } ensureAccessLevelsIsMutable(); accessLevels_.add(value); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5183,6 +5248,7 @@ public Builder addAccessLevels(java.lang.String value) { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5195,6 +5261,7 @@ public Builder addAccessLevels(java.lang.String value) { public Builder addAllAccessLevels(java.lang.Iterable values) { ensureAccessLevelsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessLevels_); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5206,6 +5273,7 @@ public Builder addAllAccessLevels(java.lang.Iterable values) { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5215,8 +5283,9 @@ public Builder addAllAccessLevels(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearAccessLevels() { - accessLevels_ = com.google.protobuf.LazyStringArrayList.EMPTY; + accessLevels_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } @@ -5228,6 +5297,7 @@ public Builder clearAccessLevels() { * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" + * * Example: * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * @@ -5244,6 +5314,7 @@ public Builder addAccessLevelsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureAccessLevelsIsMutable(); accessLevels_.add(value); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5726,11 +5797,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Request(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Request_descriptor; @@ -8833,11 +8899,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Response(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Response_descriptor; @@ -10393,12 +10454,14 @@ public interface ResourceOrBuilder * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -10414,12 +10477,14 @@ public interface ResourceOrBuilder * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -10435,6 +10500,7 @@ public interface ResourceOrBuilder *
      * The type of the resource. The syntax is platform-specific because
      * different platforms define their resources differently.
+     *
      * For Google APIs, the type format must be "{service}/{kind}", such as
      * "pubsub.googleapis.com/Topic".
      * 
@@ -10450,6 +10516,7 @@ public interface ResourceOrBuilder *
      * The type of the resource. The syntax is platform-specific because
      * different platforms define their resources differently.
+     *
      * For Google APIs, the type format must be "{service}/{kind}", such as
      * "pubsub.googleapis.com/Topic".
      * 
@@ -10563,6 +10630,7 @@ java.lang.String getLabelsOrDefault( * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -10576,6 +10644,7 @@ java.lang.String getLabelsOrDefault( * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -10592,6 +10661,7 @@ java.lang.String getLabelsOrDefault( * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -10605,6 +10675,7 @@ java.lang.String getLabelsOrDefault( * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -10622,6 +10693,7 @@ java.lang.String getAnnotationsOrDefault( * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -10807,6 +10879,7 @@ java.lang.String getAnnotationsOrDefault( * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -10825,6 +10898,7 @@ java.lang.String getAnnotationsOrDefault( * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -10874,11 +10948,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Resource(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Resource_descriptor; @@ -10973,12 +11042,14 @@ public com.google.protobuf.ByteString getServiceBytes() { * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -11005,12 +11076,14 @@ public java.lang.String getName() { * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -11041,6 +11114,7 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * The type of the resource. The syntax is platform-specific because
      * different platforms define their resources differently.
+     *
      * For Google APIs, the type format must be "{service}/{kind}", such as
      * "pubsub.googleapis.com/Topic".
      * 
@@ -11067,6 +11141,7 @@ public java.lang.String getType() { *
      * The type of the resource. The syntax is platform-specific because
      * different platforms define their resources differently.
+     *
      * For Google APIs, the type format must be "{service}/{kind}", such as
      * "pubsub.googleapis.com/Topic".
      * 
@@ -11288,6 +11363,7 @@ public int getAnnotationsCount() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -11313,6 +11389,7 @@ public java.util.Map getAnnotations() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -11329,6 +11406,7 @@ public java.util.Map getAnnotationsMap() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -11352,6 +11430,7 @@ public java.util.Map getAnnotationsMap() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -11636,6 +11715,7 @@ public com.google.protobuf.ByteString getEtagBytes() { * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -11665,6 +11745,7 @@ public java.lang.String getLocation() { * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -12496,12 +12577,14 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -12527,12 +12610,14 @@ public java.lang.String getName() { * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -12558,12 +12643,14 @@ public com.google.protobuf.ByteString getNameBytes() { * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -12588,12 +12675,14 @@ public Builder setName(java.lang.String value) { * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -12614,12 +12703,14 @@ public Builder clearName() { * The stable identifier (name) of a resource on the `service`. A resource * can be logically identified as "//{resource.service}/{resource.name}". * The differences between a resource name and a URI are: + * * * Resource name is a logical identifier, independent of network * protocol and API version. For example, * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can * be used directly by applications. For example, * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * * See https://cloud.google.com/apis/design/resource_names for details. * * @@ -12646,6 +12737,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
        * The type of the resource. The syntax is platform-specific because
        * different platforms define their resources differently.
+       *
        * For Google APIs, the type format must be "{service}/{kind}", such as
        * "pubsub.googleapis.com/Topic".
        * 
@@ -12671,6 +12763,7 @@ public java.lang.String getType() { *
        * The type of the resource. The syntax is platform-specific because
        * different platforms define their resources differently.
+       *
        * For Google APIs, the type format must be "{service}/{kind}", such as
        * "pubsub.googleapis.com/Topic".
        * 
@@ -12696,6 +12789,7 @@ public com.google.protobuf.ByteString getTypeBytes() { *
        * The type of the resource. The syntax is platform-specific because
        * different platforms define their resources differently.
+       *
        * For Google APIs, the type format must be "{service}/{kind}", such as
        * "pubsub.googleapis.com/Topic".
        * 
@@ -12720,6 +12814,7 @@ public Builder setType(java.lang.String value) { *
        * The type of the resource. The syntax is platform-specific because
        * different platforms define their resources differently.
+       *
        * For Google APIs, the type format must be "{service}/{kind}", such as
        * "pubsub.googleapis.com/Topic".
        * 
@@ -12740,6 +12835,7 @@ public Builder clearType() { *
        * The type of the resource. The syntax is platform-specific because
        * different platforms define their resources differently.
+       *
        * For Google APIs, the type format must be "{service}/{kind}", such as
        * "pubsub.googleapis.com/Topic".
        * 
@@ -13091,6 +13187,7 @@ public int getAnnotationsCount() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -13116,6 +13213,7 @@ public java.util.Map getAnnotations() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -13132,6 +13230,7 @@ public java.util.Map getAnnotationsMap() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -13155,6 +13254,7 @@ public java.util.Map getAnnotationsMap() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -13184,6 +13284,7 @@ public Builder clearAnnotations() { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -13209,6 +13310,7 @@ public java.util.Map getMutableAnnotations() * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -13232,6 +13334,7 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { * Annotations is an unstructured key-value map stored with a resource that * may be set by external tools to store and retrieve arbitrary metadata. * They are not queryable and should be preserved when modifying objects. + * * More info: https://kubernetes.io/docs/user-guide/annotations * * @@ -14058,6 +14161,7 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -14086,6 +14190,7 @@ public java.lang.String getLocation() { * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -14114,6 +14219,7 @@ public com.google.protobuf.ByteString getLocationBytes() { * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -14141,6 +14247,7 @@ public Builder setLocation(java.lang.String value) { * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -14164,6 +14271,7 @@ public Builder clearLocation() { * Immutable. The location of the resource. The location encoding is * specific to the service provider, and new encoding may be introduced * as the service evolves. + * * For Google Cloud products, the encoding is what is used by Google Cloud * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The * semantics of `location` is identical to the @@ -14953,15 +15061,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * This message defines the standard attribute vocabulary for Google APIs.
+   *
    * An attribute is a piece of metadata that describes an activity on a network
    * service. For example, the size of an HTTP request, or the status code of
    * an HTTP response.
+   *
    * Each attribute has a type and a name, which is logically defined as
    * a proto message field in `AttributeContext`. The field type becomes the
    * attribute type, and the field path becomes the attribute name. For example,
    * the attribute `source.ip` maps to field `AttributeContext.source.ip`.
+   *
    * This message definition is guaranteed not to have any wire breaking change.
    * So you can use it directly for passing attributes across different systems.
+   *
    * NOTE: Different system may generate different subset of attributes. Please
    * verify the system specification before relying on an attribute generated
    * a system.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java
index c1ad7785a7..2a6e54b89d 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AuditContext();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.rpc.context.AuditContextProto
         .internal_static_google_rpc_context_AuditContext_descriptor;
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Color.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Color.java
index 291b0ec150..8773d55506 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Color.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Color.java
@@ -29,27 +29,34 @@
  * can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
  * method in iOS; and, with just a little work, it can be easily formatted into
  * a CSS `rgba()` string in JavaScript.
+ *
  * This reference page doesn't carry information about the absolute color
  * space
  * that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
  * DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color
  * space.
+ *
  * When color equality needs to be decided, implementations, unless
  * documented otherwise, treat two colors as equal if all their red,
  * green, blue, and alpha values each differ by at most 1e-5.
+ *
  * Example (Java):
+ *
  *      import com.google.type.Color;
+ *
  *      // ...
  *      public static java.awt.Color fromProto(Color protocolor) {
  *        float alpha = protocolor.hasAlpha()
  *            ? protocolor.getAlpha().getValue()
  *            : 1.0;
+ *
  *        return new java.awt.Color(
  *            protocolor.getRed(),
  *            protocolor.getGreen(),
  *            protocolor.getBlue(),
  *            alpha);
  *      }
+ *
  *      public static Color toProto(java.awt.Color color) {
  *        float red = (float) color.getRed();
  *        float green = (float) color.getGreen();
@@ -72,7 +79,9 @@
  *        return resultBuilder.build();
  *      }
  *      // ...
+ *
  * Example (iOS / Obj-C):
+ *
  *      // ...
  *      static UIColor* fromProto(Color* protocolor) {
  *         float red = [protocolor red];
@@ -85,6 +94,7 @@
  *         }
  *         return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
  *      }
+ *
  *      static Color* toProto(UIColor* color) {
  *          CGFloat red, green, blue, alpha;
  *          if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {
@@ -101,8 +111,11 @@
  *          return result;
  *     }
  *     // ...
+ *
  *  Example (JavaScript):
+ *
  *     // ...
+ *
  *     var protoToCssColor = function(rgb_color) {
  *        var redFrac = rgb_color.red || 0.0;
  *        var greenFrac = rgb_color.green || 0.0;
@@ -110,13 +123,16 @@
  *        var red = Math.floor(redFrac * 255);
  *        var green = Math.floor(greenFrac * 255);
  *        var blue = Math.floor(blueFrac * 255);
+ *
  *        if (!('alpha' in rgb_color)) {
  *           return rgbToCssColor(red, green, blue);
  *        }
+ *
  *        var alphaFrac = rgb_color.alpha.value || 0.0;
  *        var rgbParams = [red, green, blue].join(',');
  *        return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
  *     };
+ *
  *     var rgbToCssColor = function(red, green, blue) {
  *       var rgbNumber = new Number((red << 16) | (green << 8) | blue);
  *       var hexString = rgbNumber.toString(16);
@@ -128,6 +144,7 @@
  *       resultBuilder.push(hexString);
  *       return resultBuilder.join('');
  *     };
+ *
  *     // ...
  * 
* @@ -151,11 +168,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Color(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.ColorProto.internal_static_google_type_Color_descriptor; } @@ -230,7 +242,9 @@ public float getBlue() { *
    * The fraction of this color that should be applied to the pixel. That is,
    * the final pixel color is defined by the equation:
+   *
    *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+   *
    * This means that a value of 1.0 corresponds to a solid color, whereas
    * a value of 0.0 corresponds to a completely transparent color. This
    * uses a wrapper message rather than a simple float scalar so that it is
@@ -253,7 +267,9 @@ public boolean hasAlpha() {
    * 
    * The fraction of this color that should be applied to the pixel. That is,
    * the final pixel color is defined by the equation:
+   *
    *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+   *
    * This means that a value of 1.0 corresponds to a solid color, whereas
    * a value of 0.0 corresponds to a completely transparent color. This
    * uses a wrapper message rather than a simple float scalar so that it is
@@ -276,7 +292,9 @@ public com.google.protobuf.FloatValue getAlpha() {
    * 
    * The fraction of this color that should be applied to the pixel. That is,
    * the final pixel color is defined by the equation:
+   *
    *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+   *
    * This means that a value of 1.0 corresponds to a solid color, whereas
    * a value of 0.0 corresponds to a completely transparent color. This
    * uses a wrapper message rather than a simple float scalar so that it is
@@ -495,27 +513,34 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
    * method in iOS; and, with just a little work, it can be easily formatted into
    * a CSS `rgba()` string in JavaScript.
+   *
    * This reference page doesn't carry information about the absolute color
    * space
    * that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
    * DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color
    * space.
+   *
    * When color equality needs to be decided, implementations, unless
    * documented otherwise, treat two colors as equal if all their red,
    * green, blue, and alpha values each differ by at most 1e-5.
+   *
    * Example (Java):
+   *
    *      import com.google.type.Color;
+   *
    *      // ...
    *      public static java.awt.Color fromProto(Color protocolor) {
    *        float alpha = protocolor.hasAlpha()
    *            ? protocolor.getAlpha().getValue()
    *            : 1.0;
+   *
    *        return new java.awt.Color(
    *            protocolor.getRed(),
    *            protocolor.getGreen(),
    *            protocolor.getBlue(),
    *            alpha);
    *      }
+   *
    *      public static Color toProto(java.awt.Color color) {
    *        float red = (float) color.getRed();
    *        float green = (float) color.getGreen();
@@ -538,7 +563,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *        return resultBuilder.build();
    *      }
    *      // ...
+   *
    * Example (iOS / Obj-C):
+   *
    *      // ...
    *      static UIColor* fromProto(Color* protocolor) {
    *         float red = [protocolor red];
@@ -551,6 +578,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *         }
    *         return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
    *      }
+   *
    *      static Color* toProto(UIColor* color) {
    *          CGFloat red, green, blue, alpha;
    *          if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {
@@ -567,8 +595,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *          return result;
    *     }
    *     // ...
+   *
    *  Example (JavaScript):
+   *
    *     // ...
+   *
    *     var protoToCssColor = function(rgb_color) {
    *        var redFrac = rgb_color.red || 0.0;
    *        var greenFrac = rgb_color.green || 0.0;
@@ -576,13 +607,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *        var red = Math.floor(redFrac * 255);
    *        var green = Math.floor(greenFrac * 255);
    *        var blue = Math.floor(blueFrac * 255);
+   *
    *        if (!('alpha' in rgb_color)) {
    *           return rgbToCssColor(red, green, blue);
    *        }
+   *
    *        var alphaFrac = rgb_color.alpha.value || 0.0;
    *        var rgbParams = [red, green, blue].join(',');
    *        return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
    *     };
+   *
    *     var rgbToCssColor = function(red, green, blue) {
    *       var rgbNumber = new Number((red << 16) | (green << 8) | blue);
    *       var hexString = rgbNumber.toString(16);
@@ -594,6 +628,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *       resultBuilder.push(hexString);
    *       return resultBuilder.join('');
    *     };
+   *
    *     // ...
    * 
* @@ -979,7 +1014,9 @@ public Builder clearBlue() { *
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
@@ -1001,7 +1038,9 @@ public boolean hasAlpha() {
      * 
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
@@ -1027,7 +1066,9 @@ public com.google.protobuf.FloatValue getAlpha() {
      * 
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
@@ -1057,7 +1098,9 @@ public Builder setAlpha(com.google.protobuf.FloatValue value) {
      * 
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
@@ -1084,7 +1127,9 @@ public Builder setAlpha(com.google.protobuf.FloatValue.Builder builderForValue)
      * 
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
@@ -1117,7 +1162,9 @@ public Builder mergeAlpha(com.google.protobuf.FloatValue value) {
      * 
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
@@ -1144,7 +1191,9 @@ public Builder clearAlpha() {
      * 
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
@@ -1166,7 +1215,9 @@ public com.google.protobuf.FloatValue.Builder getAlphaBuilder() {
      * 
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
@@ -1190,7 +1241,9 @@ public com.google.protobuf.FloatValueOrBuilder getAlphaOrBuilder() {
      * 
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
+     *
      *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+     *
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java
index f789a85df7..eb53a17bb9 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java
@@ -68,7 +68,9 @@ public interface ColorOrBuilder
    * 
    * The fraction of this color that should be applied to the pixel. That is,
    * the final pixel color is defined by the equation:
+   *
    *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+   *
    * This means that a value of 1.0 corresponds to a solid color, whereas
    * a value of 0.0 corresponds to a completely transparent color. This
    * uses a wrapper message rather than a simple float scalar so that it is
@@ -88,7 +90,9 @@ public interface ColorOrBuilder
    * 
    * The fraction of this color that should be applied to the pixel. That is,
    * the final pixel color is defined by the equation:
+   *
    *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+   *
    * This means that a value of 1.0 corresponds to a solid color, whereas
    * a value of 0.0 corresponds to a completely transparent color. This
    * uses a wrapper message rather than a simple float scalar so that it is
@@ -108,7 +112,9 @@ public interface ColorOrBuilder
    * 
    * The fraction of this color that should be applied to the pixel. That is,
    * the final pixel color is defined by the equation:
+   *
    *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
+   *
    * This means that a value of 1.0 corresponds to a solid color, whereas
    * a value of 0.0 corresponds to a completely transparent color. This
    * uses a wrapper message rather than a simple float scalar so that it is
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Date.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Date.java
index bf46c6f021..63ca592438 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Date.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Date.java
@@ -26,11 +26,13 @@
  * day and time zone are either specified elsewhere or are insignificant. The
  * date is relative to the Gregorian Calendar. This can represent one of the
  * following:
+ *
  * * A full date, with non-zero year, month, and day values
  * * A month and day value, with a zero year, such as an anniversary
  * * A year on its own, with zero month and day values
  * * A year and month value, with a zero day, such as a credit card expiration
  * date
+ *
  * Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
  * `google.protobuf.Timestamp`.
  * 
@@ -55,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Date(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.DateProto.internal_static_google_type_Date_descriptor; } @@ -313,11 +310,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * day and time zone are either specified elsewhere or are insignificant. The * date is relative to the Gregorian Calendar. This can represent one of the * following: + * * * A full date, with non-zero year, month, and day values * * A month and day value, with a zero year, such as an anniversary * * A year on its own, with zero month and day values * * A year and month value, with a zero day, such as a credit card expiration * date + * * Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and * `google.protobuf.Timestamp`. *
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTime.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTime.java index 295d91ad96..6613a68f9b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTime.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTime.java @@ -23,21 +23,27 @@ * *
  * Represents civil time (or occasionally physical time).
+ *
  * This type can represent a civil time in one of a few possible ways:
+ *
  *  * When utc_offset is set and time_zone is unset: a civil time on a calendar
  *    day with a particular offset from UTC.
  *  * When time_zone is set and utc_offset is unset: a civil time on a calendar
  *    day in a particular time zone.
  *  * When neither time_zone nor utc_offset is set: a civil time on a calendar
  *    day in local time.
+ *
  * The date is relative to the Proleptic Gregorian Calendar.
+ *
  * If year is 0, the DateTime is considered not to have a specific year. month
  * and day must have valid, non-zero values.
+ *
  * This type may also be used to represent a physical time if all the date and
  * time fields are set and either case of the `time_offset` oneof is set.
  * Consider using `Timestamp` message for physical time instead. If your use
  * case also would like to store the user's timezone, that can be done in
  * another field.
+ *
  * This type is more flexible than some applications may want. Make sure to
  * document and validate your application's limitations.
  * 
@@ -62,11 +68,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DateTime(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.DateTimeProto.internal_static_google_type_DateTime_descriptor; } @@ -80,6 +81,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int timeOffsetCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object timeOffset_; public enum TimeOffsetCase @@ -621,21 +624,27 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Represents civil time (or occasionally physical time).
+   *
    * This type can represent a civil time in one of a few possible ways:
+   *
    *  * When utc_offset is set and time_zone is unset: a civil time on a calendar
    *    day with a particular offset from UTC.
    *  * When time_zone is set and utc_offset is unset: a civil time on a calendar
    *    day in a particular time zone.
    *  * When neither time_zone nor utc_offset is set: a civil time on a calendar
    *    day in local time.
+   *
    * The date is relative to the Proleptic Gregorian Calendar.
+   *
    * If year is 0, the DateTime is considered not to have a specific year. month
    * and day must have valid, non-zero values.
+   *
    * This type may also be used to represent a physical time if all the date and
    * time fields are set and either case of the `time_offset` oneof is set.
    * Consider using `Timestamp` message for physical time instead. If your use
    * case also would like to store the user's timezone, that can be done in
    * another field.
+   *
    * This type is more flexible than some applications may want. Make sure to
    * document and validate your application's limitations.
    * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java index fb8329d59c..3d237dbb18 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java @@ -196,5 +196,5 @@ public interface DateTimeOrBuilder */ com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder(); - public com.google.type.DateTime.TimeOffsetCase getTimeOffsetCase(); + com.google.type.DateTime.TimeOffsetCase getTimeOffsetCase(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Decimal.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Decimal.java index 7cd61f76c7..85c5e83914 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Decimal.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Decimal.java @@ -25,6 +25,7 @@ * A representation of a decimal value, such as 2.5. Clients may convert values * into language-native decimal formats, such as Java's [BigDecimal][] or * Python's [decimal.Decimal][]. + * * [BigDecimal]: * https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html * [decimal.Decimal]: https://docs.python.org/3/library/decimal.html @@ -52,11 +53,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Decimal(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.DecimalProto.internal_static_google_type_Decimal_descriptor; } @@ -78,47 +74,63 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * The decimal value, as a string.
+   *
    * The string representation consists of an optional sign, `+` (`U+002B`)
    * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
    * ("the integer"), optionally followed by a fraction, optionally followed
    * by an exponent.
+   *
    * The fraction consists of a decimal point followed by zero or more decimal
    * digits. The string must contain at least one digit in either the integer
    * or the fraction. The number formed by the sign, the integer and the
    * fraction is referred to as the significand.
+   *
    * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
    * followed by one or more decimal digits.
+   *
    * Services **should** normalize decimal values before storing them by:
+   *
    *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
    *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
    *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
    *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+   *
    * Services **may** perform additional normalization based on its own needs
    * and the internal decimal implementation selected, such as shifting the
    * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
    * Additionally, services **may** preserve trailing zeroes in the fraction
    * to indicate increased precision, but are not required to do so.
+   *
    * Note that only the `.` character is supported to divide the integer
    * and the fraction; `,` **should not** be supported regardless of locale.
    * Additionally, thousand separators **should not** be supported. If a
    * service does support them, values **must** be normalized.
+   *
    * The ENBF grammar is:
+   *
    *     DecimalString =
    *       [Sign] Significand [Exponent];
+   *
    *     Sign = '+' | '-';
+   *
    *     Significand =
    *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+   *
    *     Exponent = ('e' | 'E') [Sign] Digits;
+   *
    *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+   *
    * Services **should** clearly document the range of supported values, the
    * maximum supported precision (total number of digits), and, if applicable,
    * the scale (number of digits after the decimal point), as well as how it
    * behaves when receiving out-of-bounds values.
+   *
    * Services **may** choose to accept values passed as input even when the
    * value has a higher precision or scale than the service supports, and
    * **should** round the value to fit the supported scale. Alternatively, the
    * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
    * if precision would be lost.
+   *
    * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
    * gRPC) if the service receives a value outside of the supported range.
    * 
@@ -144,47 +156,63 @@ public java.lang.String getValue() { * *
    * The decimal value, as a string.
+   *
    * The string representation consists of an optional sign, `+` (`U+002B`)
    * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
    * ("the integer"), optionally followed by a fraction, optionally followed
    * by an exponent.
+   *
    * The fraction consists of a decimal point followed by zero or more decimal
    * digits. The string must contain at least one digit in either the integer
    * or the fraction. The number formed by the sign, the integer and the
    * fraction is referred to as the significand.
+   *
    * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
    * followed by one or more decimal digits.
+   *
    * Services **should** normalize decimal values before storing them by:
+   *
    *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
    *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
    *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
    *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+   *
    * Services **may** perform additional normalization based on its own needs
    * and the internal decimal implementation selected, such as shifting the
    * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
    * Additionally, services **may** preserve trailing zeroes in the fraction
    * to indicate increased precision, but are not required to do so.
+   *
    * Note that only the `.` character is supported to divide the integer
    * and the fraction; `,` **should not** be supported regardless of locale.
    * Additionally, thousand separators **should not** be supported. If a
    * service does support them, values **must** be normalized.
+   *
    * The ENBF grammar is:
+   *
    *     DecimalString =
    *       [Sign] Significand [Exponent];
+   *
    *     Sign = '+' | '-';
+   *
    *     Significand =
    *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+   *
    *     Exponent = ('e' | 'E') [Sign] Digits;
+   *
    *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+   *
    * Services **should** clearly document the range of supported values, the
    * maximum supported precision (total number of digits), and, if applicable,
    * the scale (number of digits after the decimal point), as well as how it
    * behaves when receiving out-of-bounds values.
+   *
    * Services **may** choose to accept values passed as input even when the
    * value has a higher precision or scale than the service supports, and
    * **should** round the value to fit the supported scale. Alternatively, the
    * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
    * if precision would be lost.
+   *
    * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
    * gRPC) if the service receives a value outside of the supported range.
    * 
@@ -370,6 +398,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * A representation of a decimal value, such as 2.5. Clients may convert values * into language-native decimal formats, such as Java's [BigDecimal][] or * Python's [decimal.Decimal][]. + * * [BigDecimal]: * https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html * [decimal.Decimal]: https://docs.python.org/3/library/decimal.html @@ -551,47 +580,63 @@ public Builder mergeFrom( * *
      * The decimal value, as a string.
+     *
      * The string representation consists of an optional sign, `+` (`U+002B`)
      * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
      * ("the integer"), optionally followed by a fraction, optionally followed
      * by an exponent.
+     *
      * The fraction consists of a decimal point followed by zero or more decimal
      * digits. The string must contain at least one digit in either the integer
      * or the fraction. The number formed by the sign, the integer and the
      * fraction is referred to as the significand.
+     *
      * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
      * followed by one or more decimal digits.
+     *
      * Services **should** normalize decimal values before storing them by:
+     *
      *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
      *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
      *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
      *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     *
      * Services **may** perform additional normalization based on its own needs
      * and the internal decimal implementation selected, such as shifting the
      * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
      * Additionally, services **may** preserve trailing zeroes in the fraction
      * to indicate increased precision, but are not required to do so.
+     *
      * Note that only the `.` character is supported to divide the integer
      * and the fraction; `,` **should not** be supported regardless of locale.
      * Additionally, thousand separators **should not** be supported. If a
      * service does support them, values **must** be normalized.
+     *
      * The ENBF grammar is:
+     *
      *     DecimalString =
      *       [Sign] Significand [Exponent];
+     *
      *     Sign = '+' | '-';
+     *
      *     Significand =
      *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *
      *     Exponent = ('e' | 'E') [Sign] Digits;
+     *
      *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     *
      * Services **should** clearly document the range of supported values, the
      * maximum supported precision (total number of digits), and, if applicable,
      * the scale (number of digits after the decimal point), as well as how it
      * behaves when receiving out-of-bounds values.
+     *
      * Services **may** choose to accept values passed as input even when the
      * value has a higher precision or scale than the service supports, and
      * **should** round the value to fit the supported scale. Alternatively, the
      * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
      * if precision would be lost.
+     *
      * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
      * gRPC) if the service receives a value outside of the supported range.
      * 
@@ -616,47 +661,63 @@ public java.lang.String getValue() { * *
      * The decimal value, as a string.
+     *
      * The string representation consists of an optional sign, `+` (`U+002B`)
      * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
      * ("the integer"), optionally followed by a fraction, optionally followed
      * by an exponent.
+     *
      * The fraction consists of a decimal point followed by zero or more decimal
      * digits. The string must contain at least one digit in either the integer
      * or the fraction. The number formed by the sign, the integer and the
      * fraction is referred to as the significand.
+     *
      * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
      * followed by one or more decimal digits.
+     *
      * Services **should** normalize decimal values before storing them by:
+     *
      *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
      *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
      *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
      *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     *
      * Services **may** perform additional normalization based on its own needs
      * and the internal decimal implementation selected, such as shifting the
      * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
      * Additionally, services **may** preserve trailing zeroes in the fraction
      * to indicate increased precision, but are not required to do so.
+     *
      * Note that only the `.` character is supported to divide the integer
      * and the fraction; `,` **should not** be supported regardless of locale.
      * Additionally, thousand separators **should not** be supported. If a
      * service does support them, values **must** be normalized.
+     *
      * The ENBF grammar is:
+     *
      *     DecimalString =
      *       [Sign] Significand [Exponent];
+     *
      *     Sign = '+' | '-';
+     *
      *     Significand =
      *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *
      *     Exponent = ('e' | 'E') [Sign] Digits;
+     *
      *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     *
      * Services **should** clearly document the range of supported values, the
      * maximum supported precision (total number of digits), and, if applicable,
      * the scale (number of digits after the decimal point), as well as how it
      * behaves when receiving out-of-bounds values.
+     *
      * Services **may** choose to accept values passed as input even when the
      * value has a higher precision or scale than the service supports, and
      * **should** round the value to fit the supported scale. Alternatively, the
      * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
      * if precision would be lost.
+     *
      * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
      * gRPC) if the service receives a value outside of the supported range.
      * 
@@ -681,47 +742,63 @@ public com.google.protobuf.ByteString getValueBytes() { * *
      * The decimal value, as a string.
+     *
      * The string representation consists of an optional sign, `+` (`U+002B`)
      * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
      * ("the integer"), optionally followed by a fraction, optionally followed
      * by an exponent.
+     *
      * The fraction consists of a decimal point followed by zero or more decimal
      * digits. The string must contain at least one digit in either the integer
      * or the fraction. The number formed by the sign, the integer and the
      * fraction is referred to as the significand.
+     *
      * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
      * followed by one or more decimal digits.
+     *
      * Services **should** normalize decimal values before storing them by:
+     *
      *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
      *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
      *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
      *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     *
      * Services **may** perform additional normalization based on its own needs
      * and the internal decimal implementation selected, such as shifting the
      * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
      * Additionally, services **may** preserve trailing zeroes in the fraction
      * to indicate increased precision, but are not required to do so.
+     *
      * Note that only the `.` character is supported to divide the integer
      * and the fraction; `,` **should not** be supported regardless of locale.
      * Additionally, thousand separators **should not** be supported. If a
      * service does support them, values **must** be normalized.
+     *
      * The ENBF grammar is:
+     *
      *     DecimalString =
      *       [Sign] Significand [Exponent];
+     *
      *     Sign = '+' | '-';
+     *
      *     Significand =
      *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *
      *     Exponent = ('e' | 'E') [Sign] Digits;
+     *
      *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     *
      * Services **should** clearly document the range of supported values, the
      * maximum supported precision (total number of digits), and, if applicable,
      * the scale (number of digits after the decimal point), as well as how it
      * behaves when receiving out-of-bounds values.
+     *
      * Services **may** choose to accept values passed as input even when the
      * value has a higher precision or scale than the service supports, and
      * **should** round the value to fit the supported scale. Alternatively, the
      * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
      * if precision would be lost.
+     *
      * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
      * gRPC) if the service receives a value outside of the supported range.
      * 
@@ -745,47 +822,63 @@ public Builder setValue(java.lang.String value) { * *
      * The decimal value, as a string.
+     *
      * The string representation consists of an optional sign, `+` (`U+002B`)
      * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
      * ("the integer"), optionally followed by a fraction, optionally followed
      * by an exponent.
+     *
      * The fraction consists of a decimal point followed by zero or more decimal
      * digits. The string must contain at least one digit in either the integer
      * or the fraction. The number formed by the sign, the integer and the
      * fraction is referred to as the significand.
+     *
      * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
      * followed by one or more decimal digits.
+     *
      * Services **should** normalize decimal values before storing them by:
+     *
      *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
      *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
      *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
      *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     *
      * Services **may** perform additional normalization based on its own needs
      * and the internal decimal implementation selected, such as shifting the
      * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
      * Additionally, services **may** preserve trailing zeroes in the fraction
      * to indicate increased precision, but are not required to do so.
+     *
      * Note that only the `.` character is supported to divide the integer
      * and the fraction; `,` **should not** be supported regardless of locale.
      * Additionally, thousand separators **should not** be supported. If a
      * service does support them, values **must** be normalized.
+     *
      * The ENBF grammar is:
+     *
      *     DecimalString =
      *       [Sign] Significand [Exponent];
+     *
      *     Sign = '+' | '-';
+     *
      *     Significand =
      *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *
      *     Exponent = ('e' | 'E') [Sign] Digits;
+     *
      *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     *
      * Services **should** clearly document the range of supported values, the
      * maximum supported precision (total number of digits), and, if applicable,
      * the scale (number of digits after the decimal point), as well as how it
      * behaves when receiving out-of-bounds values.
+     *
      * Services **may** choose to accept values passed as input even when the
      * value has a higher precision or scale than the service supports, and
      * **should** round the value to fit the supported scale. Alternatively, the
      * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
      * if precision would be lost.
+     *
      * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
      * gRPC) if the service receives a value outside of the supported range.
      * 
@@ -805,47 +898,63 @@ public Builder clearValue() { * *
      * The decimal value, as a string.
+     *
      * The string representation consists of an optional sign, `+` (`U+002B`)
      * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
      * ("the integer"), optionally followed by a fraction, optionally followed
      * by an exponent.
+     *
      * The fraction consists of a decimal point followed by zero or more decimal
      * digits. The string must contain at least one digit in either the integer
      * or the fraction. The number formed by the sign, the integer and the
      * fraction is referred to as the significand.
+     *
      * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
      * followed by one or more decimal digits.
+     *
      * Services **should** normalize decimal values before storing them by:
+     *
      *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
      *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
      *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
      *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     *
      * Services **may** perform additional normalization based on its own needs
      * and the internal decimal implementation selected, such as shifting the
      * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
      * Additionally, services **may** preserve trailing zeroes in the fraction
      * to indicate increased precision, but are not required to do so.
+     *
      * Note that only the `.` character is supported to divide the integer
      * and the fraction; `,` **should not** be supported regardless of locale.
      * Additionally, thousand separators **should not** be supported. If a
      * service does support them, values **must** be normalized.
+     *
      * The ENBF grammar is:
+     *
      *     DecimalString =
      *       [Sign] Significand [Exponent];
+     *
      *     Sign = '+' | '-';
+     *
      *     Significand =
      *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *
      *     Exponent = ('e' | 'E') [Sign] Digits;
+     *
      *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     *
      * Services **should** clearly document the range of supported values, the
      * maximum supported precision (total number of digits), and, if applicable,
      * the scale (number of digits after the decimal point), as well as how it
      * behaves when receiving out-of-bounds values.
+     *
      * Services **may** choose to accept values passed as input even when the
      * value has a higher precision or scale than the service supports, and
      * **should** round the value to fit the supported scale. Alternatively, the
      * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
      * if precision would be lost.
+     *
      * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
      * gRPC) if the service receives a value outside of the supported range.
      * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java index 15e152ccc9..73e0329eb2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java @@ -28,47 +28,63 @@ public interface DecimalOrBuilder * *
    * The decimal value, as a string.
+   *
    * The string representation consists of an optional sign, `+` (`U+002B`)
    * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
    * ("the integer"), optionally followed by a fraction, optionally followed
    * by an exponent.
+   *
    * The fraction consists of a decimal point followed by zero or more decimal
    * digits. The string must contain at least one digit in either the integer
    * or the fraction. The number formed by the sign, the integer and the
    * fraction is referred to as the significand.
+   *
    * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
    * followed by one or more decimal digits.
+   *
    * Services **should** normalize decimal values before storing them by:
+   *
    *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
    *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
    *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
    *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+   *
    * Services **may** perform additional normalization based on its own needs
    * and the internal decimal implementation selected, such as shifting the
    * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
    * Additionally, services **may** preserve trailing zeroes in the fraction
    * to indicate increased precision, but are not required to do so.
+   *
    * Note that only the `.` character is supported to divide the integer
    * and the fraction; `,` **should not** be supported regardless of locale.
    * Additionally, thousand separators **should not** be supported. If a
    * service does support them, values **must** be normalized.
+   *
    * The ENBF grammar is:
+   *
    *     DecimalString =
    *       [Sign] Significand [Exponent];
+   *
    *     Sign = '+' | '-';
+   *
    *     Significand =
    *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+   *
    *     Exponent = ('e' | 'E') [Sign] Digits;
+   *
    *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+   *
    * Services **should** clearly document the range of supported values, the
    * maximum supported precision (total number of digits), and, if applicable,
    * the scale (number of digits after the decimal point), as well as how it
    * behaves when receiving out-of-bounds values.
+   *
    * Services **may** choose to accept values passed as input even when the
    * value has a higher precision or scale than the service supports, and
    * **should** round the value to fit the supported scale. Alternatively, the
    * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
    * if precision would be lost.
+   *
    * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
    * gRPC) if the service receives a value outside of the supported range.
    * 
@@ -83,47 +99,63 @@ public interface DecimalOrBuilder * *
    * The decimal value, as a string.
+   *
    * The string representation consists of an optional sign, `+` (`U+002B`)
    * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
    * ("the integer"), optionally followed by a fraction, optionally followed
    * by an exponent.
+   *
    * The fraction consists of a decimal point followed by zero or more decimal
    * digits. The string must contain at least one digit in either the integer
    * or the fraction. The number formed by the sign, the integer and the
    * fraction is referred to as the significand.
+   *
    * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
    * followed by one or more decimal digits.
+   *
    * Services **should** normalize decimal values before storing them by:
+   *
    *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
    *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
    *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
    *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+   *
    * Services **may** perform additional normalization based on its own needs
    * and the internal decimal implementation selected, such as shifting the
    * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
    * Additionally, services **may** preserve trailing zeroes in the fraction
    * to indicate increased precision, but are not required to do so.
+   *
    * Note that only the `.` character is supported to divide the integer
    * and the fraction; `,` **should not** be supported regardless of locale.
    * Additionally, thousand separators **should not** be supported. If a
    * service does support them, values **must** be normalized.
+   *
    * The ENBF grammar is:
+   *
    *     DecimalString =
    *       [Sign] Significand [Exponent];
+   *
    *     Sign = '+' | '-';
+   *
    *     Significand =
    *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+   *
    *     Exponent = ('e' | 'E') [Sign] Digits;
+   *
    *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+   *
    * Services **should** clearly document the range of supported values, the
    * maximum supported precision (total number of digits), and, if applicable,
    * the scale (number of digits after the decimal point), as well as how it
    * behaves when receiving out-of-bounds values.
+   *
    * Services **may** choose to accept values passed as input even when the
    * value has a higher precision or scale than the service supports, and
    * **should** round the value to fit the supported scale. Alternatively, the
    * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
    * if precision would be lost.
+   *
    * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
    * gRPC) if the service receives a value outside of the supported range.
    * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Expr.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Expr.java index 24b8e6d689..5c263f56db 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Expr.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Expr.java @@ -25,22 +25,31 @@ * Represents a textual expression in the Common Expression Language (CEL) * syntax. CEL is a C-like expression language. The syntax and semantics of CEL * are documented at https://github.com/google/cel-spec. + * * Example (Comparison): + * * title: "Summary size limit" * description: "Determines if a summary is less than 100 chars" * expression: "document.summary.size() < 100" + * * Example (Equality): + * * title: "Requestor is owner" * description: "Determines if requestor is the document owner" * expression: "document.owner == request.auth.claims.email" + * * Example (Logic): + * * title: "Public documents" * description: "Determine whether the document should be publicly visible" * expression: "document.type != 'private' && document.type != 'internal'" + * * Example (Data Manipulation): + * * title: "Notification string" * description: "Create a notification string with a timestamp." * expression: "'New message received at ' + string(document.create_time)" + * * The exact variables and functions that may be referenced within an expression * are determined by the service that evaluates it. See the service * documentation for additional information. @@ -71,11 +80,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Expr(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.ExprProto.internal_static_google_type_Expr_descriptor; } @@ -493,22 +497,31 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Represents a textual expression in the Common Expression Language (CEL) * syntax. CEL is a C-like expression language. The syntax and semantics of CEL * are documented at https://github.com/google/cel-spec. + * * Example (Comparison): + * * title: "Summary size limit" * description: "Determines if a summary is less than 100 chars" * expression: "document.summary.size() < 100" + * * Example (Equality): + * * title: "Requestor is owner" * description: "Determines if requestor is the document owner" * expression: "document.owner == request.auth.claims.email" + * * Example (Logic): + * * title: "Public documents" * description: "Determine whether the document should be publicly visible" * expression: "document.type != 'private' && document.type != 'internal'" + * * Example (Data Manipulation): + * * title: "Notification string" * description: "Create a notification string with a timestamp." * expression: "'New message received at ' + string(document.create_time)" + * * The exact variables and functions that may be referenced within an expression * are determined by the service that evaluates it. See the service * documentation for additional information. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Fraction.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Fraction.java index b2cfd71e8d..318805a142 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Fraction.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Fraction.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Fraction(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.FractionProto.internal_static_google_type_Fraction_descriptor; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Interval.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Interval.java index 3424d0d429..81ca0dc8cb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Interval.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Interval.java @@ -24,6 +24,7 @@ *
  * Represents a time interval, encoded as a Timestamp start (inclusive) and a
  * Timestamp end (exclusive).
+ *
  * The start must be less than or equal to the end.
  * When the start equals the end, the interval is empty (matches no time).
  * When both start and end are unspecified, the interval matches any time.
@@ -49,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Interval();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.type.IntervalProto.internal_static_google_type_Interval_descriptor;
   }
@@ -73,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Optional. Inclusive start of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be the same
    * or after the start.
    * 
@@ -90,6 +87,7 @@ public boolean hasStartTime() { * *
    * Optional. Inclusive start of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be the same
    * or after the start.
    * 
@@ -107,6 +105,7 @@ public com.google.protobuf.Timestamp getStartTime() { * *
    * Optional. Inclusive start of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be the same
    * or after the start.
    * 
@@ -125,6 +124,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * *
    * Optional. Exclusive end of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be before the
    * end.
    * 
@@ -142,6 +142,7 @@ public boolean hasEndTime() { * *
    * Optional. Exclusive end of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be before the
    * end.
    * 
@@ -159,6 +160,7 @@ public com.google.protobuf.Timestamp getEndTime() { * *
    * Optional. Exclusive end of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be before the
    * end.
    * 
@@ -352,6 +354,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Represents a time interval, encoded as a Timestamp start (inclusive) and a
    * Timestamp end (exclusive).
+   *
    * The start must be less than or equal to the end.
    * When the start equals the end, the interval is empty (matches no time).
    * When both start and end are unspecified, the interval matches any time.
@@ -557,6 +560,7 @@ public Builder mergeFrom(
      *
      * 
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -573,6 +577,7 @@ public boolean hasStartTime() { * *
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -593,6 +598,7 @@ public com.google.protobuf.Timestamp getStartTime() { * *
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -617,6 +623,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { * *
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -638,6 +645,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu * *
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -665,6 +673,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { * *
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -686,6 +695,7 @@ public Builder clearStartTime() { * *
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -702,6 +712,7 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { * *
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -720,6 +731,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * *
      * Optional. Inclusive start of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be the same
      * or after the start.
      * 
@@ -754,6 +766,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
@@ -770,6 +783,7 @@ public boolean hasEndTime() { * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
@@ -790,6 +804,7 @@ public com.google.protobuf.Timestamp getEndTime() { * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
@@ -814,6 +829,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
@@ -835,6 +851,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
@@ -862,6 +879,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
@@ -883,6 +901,7 @@ public Builder clearEndTime() { * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
@@ -899,6 +918,7 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
@@ -917,6 +937,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * *
      * Optional. Exclusive end of the interval.
+     *
      * If specified, a Timestamp matching this interval will have to be before the
      * end.
      * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java index 3267b41792..0efe6bf8b5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java @@ -28,6 +28,7 @@ public interface IntervalOrBuilder * *
    * Optional. Inclusive start of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be the same
    * or after the start.
    * 
@@ -42,6 +43,7 @@ public interface IntervalOrBuilder * *
    * Optional. Inclusive start of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be the same
    * or after the start.
    * 
@@ -56,6 +58,7 @@ public interface IntervalOrBuilder * *
    * Optional. Inclusive start of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be the same
    * or after the start.
    * 
@@ -69,6 +72,7 @@ public interface IntervalOrBuilder * *
    * Optional. Exclusive end of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be before the
    * end.
    * 
@@ -83,6 +87,7 @@ public interface IntervalOrBuilder * *
    * Optional. Exclusive end of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be before the
    * end.
    * 
@@ -97,6 +102,7 @@ public interface IntervalOrBuilder * *
    * Optional. Exclusive end of the interval.
+   *
    * If specified, a Timestamp matching this interval will have to be before the
    * end.
    * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLng.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLng.java index 2af3af9f69..e148349cfa 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLng.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLng.java @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LatLng(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.LatLngProto.internal_static_google_type_LatLng_descriptor; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java index d9175895a3..ee0799f976 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LocalizedText(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.LocalizedTextProto.internal_static_google_type_LocalizedText_descriptor; } @@ -126,6 +121,7 @@ public com.google.protobuf.ByteString getTextBytes() { * *
    * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+   *
    * For more information, see
    * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
    * 
@@ -151,6 +147,7 @@ public java.lang.String getLanguageCode() { * *
    * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+   *
    * For more information, see
    * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
    * 
@@ -645,6 +642,7 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * *
      * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     *
      * For more information, see
      * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
      * 
@@ -669,6 +667,7 @@ public java.lang.String getLanguageCode() { * *
      * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     *
      * For more information, see
      * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
      * 
@@ -693,6 +692,7 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * *
      * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     *
      * For more information, see
      * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
      * 
@@ -716,6 +716,7 @@ public Builder setLanguageCode(java.lang.String value) { * *
      * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     *
      * For more information, see
      * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
      * 
@@ -735,6 +736,7 @@ public Builder clearLanguageCode() { * *
      * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     *
      * For more information, see
      * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
      * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java index c103886996..ff8778cea4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java @@ -53,6 +53,7 @@ public interface LocalizedTextOrBuilder * *
    * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+   *
    * For more information, see
    * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
    * 
@@ -67,6 +68,7 @@ public interface LocalizedTextOrBuilder * *
    * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+   *
    * For more information, see
    * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
    * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Money.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Money.java index bf2afe6d29..4d95a8264e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Money.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Money.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Money(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.MoneyProto.internal_static_google_type_Money_descriptor; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java index b4d9d9b595..c4d446e5cc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java @@ -23,15 +23,21 @@ * *
  * An object representing a phone number, suitable as an API wire format.
+ *
  * This representation:
+ *
  *  - should not be used for locale-specific formatting of a phone number, such
  *    as "+1 (650) 253-0000 ext. 123"
+ *
  *  - is not designed for efficient storage
  *  - may not be suitable for dialing - specialized libraries (see references)
  *    should be used to parse the number for that purpose
+ *
  * To do something meaningful with this number, such as format it for various
  * use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first.
+ *
  * For instance, in Java this would be:
+ *
  *    com.google.type.PhoneNumber wireProto =
  *        com.google.type.PhoneNumber.newBuilder().build();
  *    com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
@@ -39,6 +45,7 @@
  *    if (!wireProto.getExtension().isEmpty()) {
  *      phoneNumber.setExtension(wireProto.getExtension());
  *    }
+ *
  *  Reference(s):
  *   - https://github.com/google/libphonenumber
  * 
@@ -65,11 +72,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PhoneNumber(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.PhoneNumberProto.internal_static_google_type_PhoneNumber_descriptor; } @@ -94,6 +96,7 @@ public interface ShortCodeOrBuilder *
      * Required. The BCP-47 region code of the location where calls to this
      * short code can be made, such as "US" and "BB".
+     *
      * Reference(s):
      *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
      * 
@@ -109,6 +112,7 @@ public interface ShortCodeOrBuilder *
      * Required. The BCP-47 region code of the location where calls to this
      * short code can be made, such as "US" and "BB".
+     *
      * Reference(s):
      *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
      * 
@@ -154,6 +158,7 @@ public interface ShortCodeOrBuilder * typically much shorter than regular phone numbers and can be used to * address messages in MMS and SMS systems, as well as for abbreviated dialing * (e.g. "Text 611 to see how many minutes you have remaining on your plan."). + * * Short codes are restricted to a region and are not internationally * dialable, which means the same short code can exist in different regions, * with different usage and pricing, even if those regions share the same @@ -183,11 +188,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShortCode(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.PhoneNumberProto .internal_static_google_type_PhoneNumber_ShortCode_descriptor; @@ -213,6 +213,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
      * Required. The BCP-47 region code of the location where calls to this
      * short code can be made, such as "US" and "BB".
+     *
      * Reference(s):
      *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
      * 
@@ -239,6 +240,7 @@ public java.lang.String getRegionCode() { *
      * Required. The BCP-47 region code of the location where calls to this
      * short code can be made, such as "US" and "BB".
+     *
      * Reference(s):
      *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
      * 
@@ -489,6 +491,7 @@ protected Builder newBuilderForType( * typically much shorter than regular phone numbers and can be used to * address messages in MMS and SMS systems, as well as for abbreviated dialing * (e.g. "Text 611 to see how many minutes you have remaining on your plan."). + * * Short codes are restricted to a region and are not internationally * dialable, which means the same short code can exist in different regions, * with different usage and pricing, even if those regions share the same @@ -695,6 +698,7 @@ public Builder mergeFrom( *
        * Required. The BCP-47 region code of the location where calls to this
        * short code can be made, such as "US" and "BB".
+       *
        * Reference(s):
        *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
        * 
@@ -720,6 +724,7 @@ public java.lang.String getRegionCode() { *
        * Required. The BCP-47 region code of the location where calls to this
        * short code can be made, such as "US" and "BB".
+       *
        * Reference(s):
        *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
        * 
@@ -745,6 +750,7 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { *
        * Required. The BCP-47 region code of the location where calls to this
        * short code can be made, such as "US" and "BB".
+       *
        * Reference(s):
        *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
        * 
@@ -769,6 +775,7 @@ public Builder setRegionCode(java.lang.String value) { *
        * Required. The BCP-47 region code of the location where calls to this
        * short code can be made, such as "US" and "BB".
+       *
        * Reference(s):
        *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
        * 
@@ -789,6 +796,7 @@ public Builder clearRegionCode() { *
        * Required. The BCP-47 region code of the location where calls to this
        * short code can be made, such as "US" and "BB".
+       *
        * Reference(s):
        *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
        * 
@@ -985,6 +993,8 @@ public com.google.type.PhoneNumber.ShortCode getDefaultInstanceForType() { } private int kindCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object kind_; public enum KindCase @@ -1042,9 +1052,11 @@ public KindCase getKindCase() { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1068,9 +1080,11 @@ public boolean hasE164Number() { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1107,9 +1121,11 @@ public java.lang.String getE164Number() { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1143,6 +1159,7 @@ public com.google.protobuf.ByteString getE164NumberBytes() { * *
    * A short code.
+   *
    * Reference(s):
    *  - https://en.wikipedia.org/wiki/Short_code
    * 
@@ -1160,6 +1177,7 @@ public boolean hasShortCode() { * *
    * A short code.
+   *
    * Reference(s):
    *  - https://en.wikipedia.org/wiki/Short_code
    * 
@@ -1180,6 +1198,7 @@ public com.google.type.PhoneNumber.ShortCode getShortCode() { * *
    * A short code.
+   *
    * Reference(s):
    *  - https://en.wikipedia.org/wiki/Short_code
    * 
@@ -1206,6 +1225,7 @@ public com.google.type.PhoneNumber.ShortCodeOrBuilder getShortCodeOrBuilder() { * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the @@ -1236,6 +1256,7 @@ public java.lang.String getExtension() { * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the @@ -1458,15 +1479,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * An object representing a phone number, suitable as an API wire format.
+   *
    * This representation:
+   *
    *  - should not be used for locale-specific formatting of a phone number, such
    *    as "+1 (650) 253-0000 ext. 123"
+   *
    *  - is not designed for efficient storage
    *  - may not be suitable for dialing - specialized libraries (see references)
    *    should be used to parse the number for that purpose
+   *
    * To do something meaningful with this number, such as format it for various
    * use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first.
+   *
    * For instance, in Java this would be:
+   *
    *    com.google.type.PhoneNumber wireProto =
    *        com.google.type.PhoneNumber.newBuilder().build();
    *    com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
@@ -1474,6 +1501,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *    if (!wireProto.getExtension().isEmpty()) {
    *      phoneNumber.setExtension(wireProto.getExtension());
    *    }
+   *
    *  Reference(s):
    *   - https://github.com/google/libphonenumber
    * 
@@ -1718,9 +1746,11 @@ public Builder clearKind() { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1745,9 +1775,11 @@ public boolean hasE164Number() { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1785,9 +1817,11 @@ public java.lang.String getE164Number() { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1825,9 +1859,11 @@ public com.google.protobuf.ByteString getE164NumberBytes() { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1858,9 +1894,11 @@ public Builder setE164Number(java.lang.String value) { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1889,9 +1927,11 @@ public Builder clearE164Number() { * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -1924,6 +1964,7 @@ public Builder setE164NumberBytes(com.google.protobuf.ByteString value) { * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -1941,6 +1982,7 @@ public boolean hasShortCode() { * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -1968,6 +2010,7 @@ public com.google.type.PhoneNumber.ShortCode getShortCode() { * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -1992,6 +2035,7 @@ public Builder setShortCode(com.google.type.PhoneNumber.ShortCode value) { * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -2013,6 +2057,7 @@ public Builder setShortCode(com.google.type.PhoneNumber.ShortCode.Builder builde * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -2046,6 +2091,7 @@ public Builder mergeShortCode(com.google.type.PhoneNumber.ShortCode value) { * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -2073,6 +2119,7 @@ public Builder clearShortCode() { * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -2087,6 +2134,7 @@ public com.google.type.PhoneNumber.ShortCode.Builder getShortCodeBuilder() { * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -2109,6 +2157,7 @@ public com.google.type.PhoneNumber.ShortCodeOrBuilder getShortCodeOrBuilder() { * *
      * A short code.
+     *
      * Reference(s):
      *  - https://en.wikipedia.org/wiki/Short_code
      * 
@@ -2146,6 +2195,7 @@ public com.google.type.PhoneNumber.ShortCodeOrBuilder getShortCodeOrBuilder() { * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the @@ -2175,6 +2225,7 @@ public java.lang.String getExtension() { * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the @@ -2204,6 +2255,7 @@ public com.google.protobuf.ByteString getExtensionBytes() { * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the @@ -2232,6 +2284,7 @@ public Builder setExtension(java.lang.String value) { * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the @@ -2256,6 +2309,7 @@ public Builder clearExtension() { * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java index 00bd363c71..a29bc63aa0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java @@ -33,9 +33,11 @@ public interface PhoneNumberOrBuilder * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -57,9 +59,11 @@ public interface PhoneNumberOrBuilder * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -81,9 +85,11 @@ public interface PhoneNumberOrBuilder * additional spaces or formatting, e.g.: * - correct: "+15552220123" * - incorrect: "+1 (555) 222-01234 x123". + * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. + * * References: * - https://www.itu.int/rec/T-REC-E.164-201011-I * - https://en.wikipedia.org/wiki/E.164. @@ -101,6 +107,7 @@ public interface PhoneNumberOrBuilder * *
    * A short code.
+   *
    * Reference(s):
    *  - https://en.wikipedia.org/wiki/Short_code
    * 
@@ -115,6 +122,7 @@ public interface PhoneNumberOrBuilder * *
    * A short code.
+   *
    * Reference(s):
    *  - https://en.wikipedia.org/wiki/Short_code
    * 
@@ -129,6 +137,7 @@ public interface PhoneNumberOrBuilder * *
    * A short code.
+   *
    * Reference(s):
    *  - https://en.wikipedia.org/wiki/Short_code
    * 
@@ -145,6 +154,7 @@ public interface PhoneNumberOrBuilder * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the @@ -164,6 +174,7 @@ public interface PhoneNumberOrBuilder * recommendations, except for being defined as a series of numbers with a * maximum length of 40 digits. Other than digits, some other dialing * characters such as ',' (indicating a wait) or '#' may be stored here. + * * Note that no regions currently use extensions with short codes, so this * field is normally only set in conjunction with an E.164 number. It is held * separately from the E.164 number to allow for short code extensions in the @@ -176,5 +187,5 @@ public interface PhoneNumberOrBuilder */ com.google.protobuf.ByteString getExtensionBytes(); - public com.google.type.PhoneNumber.KindCase getKindCase(); + com.google.type.PhoneNumber.KindCase getKindCase(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java index bd83a5b3ba..3acf78655f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java @@ -27,13 +27,16 @@ * Box or similar. * It is not intended to model geographical locations (roads, towns, * mountains). + * * In typical usage an address would be created via user input or from importing * existing data, depending on the type of process. + * * Advice on address input / editing: * - Use an i18n-ready address widget such as * https://github.com/google/libaddressinput) * - Users should not be presented with UI elements for input or editing of * fields outside countries where that field is used. + * * For more guidance on how to use this schema, please see: * https://support.google.com/business/answer/6397478 *
@@ -58,8 +61,8 @@ private PostalAddress() { administrativeArea_ = ""; locality_ = ""; sublocality_ = ""; - addressLines_ = com.google.protobuf.LazyStringArrayList.EMPTY; - recipients_ = com.google.protobuf.LazyStringArrayList.EMPTY; + addressLines_ = com.google.protobuf.LazyStringArrayList.emptyList(); + recipients_ = com.google.protobuf.LazyStringArrayList.emptyList(); organization_ = ""; } @@ -69,11 +72,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostalAddress(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.PostalAddressProto.internal_static_google_type_PostalAddress_descriptor; } @@ -95,6 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * The schema revision of the `PostalAddress`. This must be set to 0, which is
    * the latest revision.
+   *
    * All new revisions **must** be backward compatible with old revisions.
    * 
* @@ -181,8 +180,10 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -213,8 +214,10 @@ public java.lang.String getLanguageCode() { * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -527,12 +530,14 @@ public com.google.protobuf.ByteString getSublocalityBytes() { public static final int ADDRESS_LINES_FIELD_NUMBER = 9; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList addressLines_; + private com.google.protobuf.LazyStringArrayList addressLines_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
    * Unstructured address lines describing the lower levels of an address.
+   *
    * Because values in address_lines do not have type information and may
    * sometimes contain multiple values in a single field (e.g.
    * "Austin, TX"), it is important that the line order is clear. The order of
@@ -541,12 +546,14 @@ public com.google.protobuf.ByteString getSublocalityBytes() {
    * used to make it explicit (e.g. "ja" for large-to-small ordering and
    * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
    * an address can be selected based on the language.
+   *
    * The minimum permitted structural representation of an address consists
    * of a region_code with all remaining information placed in the
    * address_lines. It would be possible to format such an address very
    * approximately without geocoding, but no semantic reasoning could be
    * made about any of the address components until it was at least
    * partially resolved.
+   *
    * Creating an address only containing a region_code and address_lines, and
    * then geocoding is the recommended way to handle completely unstructured
    * addresses (as opposed to guessing which parts of the address should be
@@ -565,6 +572,7 @@ public com.google.protobuf.ProtocolStringList getAddressLinesList() {
    *
    * 
    * Unstructured address lines describing the lower levels of an address.
+   *
    * Because values in address_lines do not have type information and may
    * sometimes contain multiple values in a single field (e.g.
    * "Austin, TX"), it is important that the line order is clear. The order of
@@ -573,12 +581,14 @@ public com.google.protobuf.ProtocolStringList getAddressLinesList() {
    * used to make it explicit (e.g. "ja" for large-to-small ordering and
    * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
    * an address can be selected based on the language.
+   *
    * The minimum permitted structural representation of an address consists
    * of a region_code with all remaining information placed in the
    * address_lines. It would be possible to format such an address very
    * approximately without geocoding, but no semantic reasoning could be
    * made about any of the address components until it was at least
    * partially resolved.
+   *
    * Creating an address only containing a region_code and address_lines, and
    * then geocoding is the recommended way to handle completely unstructured
    * addresses (as opposed to guessing which parts of the address should be
@@ -597,6 +607,7 @@ public int getAddressLinesCount() {
    *
    * 
    * Unstructured address lines describing the lower levels of an address.
+   *
    * Because values in address_lines do not have type information and may
    * sometimes contain multiple values in a single field (e.g.
    * "Austin, TX"), it is important that the line order is clear. The order of
@@ -605,12 +616,14 @@ public int getAddressLinesCount() {
    * used to make it explicit (e.g. "ja" for large-to-small ordering and
    * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
    * an address can be selected based on the language.
+   *
    * The minimum permitted structural representation of an address consists
    * of a region_code with all remaining information placed in the
    * address_lines. It would be possible to format such an address very
    * approximately without geocoding, but no semantic reasoning could be
    * made about any of the address components until it was at least
    * partially resolved.
+   *
    * Creating an address only containing a region_code and address_lines, and
    * then geocoding is the recommended way to handle completely unstructured
    * addresses (as opposed to guessing which parts of the address should be
@@ -630,6 +643,7 @@ public java.lang.String getAddressLines(int index) {
    *
    * 
    * Unstructured address lines describing the lower levels of an address.
+   *
    * Because values in address_lines do not have type information and may
    * sometimes contain multiple values in a single field (e.g.
    * "Austin, TX"), it is important that the line order is clear. The order of
@@ -638,12 +652,14 @@ public java.lang.String getAddressLines(int index) {
    * used to make it explicit (e.g. "ja" for large-to-small ordering and
    * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
    * an address can be selected based on the language.
+   *
    * The minimum permitted structural representation of an address consists
    * of a region_code with all remaining information placed in the
    * address_lines. It would be possible to format such an address very
    * approximately without geocoding, but no semantic reasoning could be
    * made about any of the address components until it was at least
    * partially resolved.
+   *
    * Creating an address only containing a region_code and address_lines, and
    * then geocoding is the recommended way to handle completely unstructured
    * addresses (as opposed to guessing which parts of the address should be
@@ -662,7 +678,8 @@ public com.google.protobuf.ByteString getAddressLinesBytes(int index) {
   public static final int RECIPIENTS_FIELD_NUMBER = 10;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList recipients_;
+  private com.google.protobuf.LazyStringArrayList recipients_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
@@ -1051,13 +1068,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * Box or similar.
    * It is not intended to model geographical locations (roads, towns,
    * mountains).
+   *
    * In typical usage an address would be created via user input or from importing
    * existing data, depending on the type of process.
+   *
    * Advice on address input / editing:
    *  - Use an i18n-ready address widget such as
    *    https://github.com/google/libaddressinput)
    * - Users should not be presented with UI elements for input or editing of
    *   fields outside countries where that field is used.
+   *
    * For more guidance on how to use this schema, please see:
    * https://support.google.com/business/answer/6397478
    * 
@@ -1101,10 +1121,8 @@ public Builder clear() { administrativeArea_ = ""; locality_ = ""; sublocality_ = ""; - addressLines_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000100); - recipients_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000200); + addressLines_ = com.google.protobuf.LazyStringArrayList.emptyList(); + recipients_ = com.google.protobuf.LazyStringArrayList.emptyList(); organization_ = ""; return this; } @@ -1132,7 +1150,6 @@ public com.google.type.PostalAddress build() { @java.lang.Override public com.google.type.PostalAddress buildPartial() { com.google.type.PostalAddress result = new com.google.type.PostalAddress(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -1140,19 +1157,6 @@ public com.google.type.PostalAddress buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.type.PostalAddress result) { - if (((bitField0_ & 0x00000100) != 0)) { - addressLines_ = addressLines_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000100); - } - result.addressLines_ = addressLines_; - if (((bitField0_ & 0x00000200) != 0)) { - recipients_ = recipients_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000200); - } - result.recipients_ = recipients_; - } - private void buildPartial0(com.google.type.PostalAddress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -1179,6 +1183,14 @@ private void buildPartial0(com.google.type.PostalAddress result) { if (((from_bitField0_ & 0x00000080) != 0)) { result.sublocality_ = sublocality_; } + if (((from_bitField0_ & 0x00000100) != 0)) { + addressLines_.makeImmutable(); + result.addressLines_ = addressLines_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + recipients_.makeImmutable(); + result.recipients_ = recipients_; + } if (((from_bitField0_ & 0x00000400) != 0)) { result.organization_ = organization_; } @@ -1270,7 +1282,7 @@ public Builder mergeFrom(com.google.type.PostalAddress other) { if (!other.addressLines_.isEmpty()) { if (addressLines_.isEmpty()) { addressLines_ = other.addressLines_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ |= 0x00000100; } else { ensureAddressLinesIsMutable(); addressLines_.addAll(other.addressLines_); @@ -1280,7 +1292,7 @@ public Builder mergeFrom(com.google.type.PostalAddress other) { if (!other.recipients_.isEmpty()) { if (recipients_.isEmpty()) { recipients_ = other.recipients_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ |= 0x00000200; } else { ensureRecipientsIsMutable(); recipients_.addAll(other.recipients_); @@ -1412,6 +1424,7 @@ public Builder mergeFrom( *
      * The schema revision of the `PostalAddress`. This must be set to 0, which is
      * the latest revision.
+     *
      * All new revisions **must** be backward compatible with old revisions.
      * 
* @@ -1429,6 +1442,7 @@ public int getRevision() { *
      * The schema revision of the `PostalAddress`. This must be set to 0, which is
      * the latest revision.
+     *
      * All new revisions **must** be backward compatible with old revisions.
      * 
* @@ -1450,6 +1464,7 @@ public Builder setRevision(int value) { *
      * The schema revision of the `PostalAddress`. This must be set to 0, which is
      * the latest revision.
+     *
      * All new revisions **must** be backward compatible with old revisions.
      * 
* @@ -1602,8 +1617,10 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -1633,8 +1650,10 @@ public java.lang.String getLanguageCode() { * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -1664,8 +1683,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -1694,8 +1715,10 @@ public Builder setLanguageCode(java.lang.String value) { * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -1720,8 +1743,10 @@ public Builder clearLanguageCode() { * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -2356,20 +2381,21 @@ public Builder setSublocalityBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList addressLines_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList addressLines_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAddressLinesIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { + if (!addressLines_.isModifiable()) { addressLines_ = new com.google.protobuf.LazyStringArrayList(addressLines_); - bitField0_ |= 0x00000100; } + bitField0_ |= 0x00000100; } /** * * *
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2378,12 +2404,14 @@ private void ensureAddressLinesIsMutable() {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2395,13 +2423,15 @@ private void ensureAddressLinesIsMutable() {
      * @return A list containing the addressLines.
      */
     public com.google.protobuf.ProtocolStringList getAddressLinesList() {
-      return addressLines_.getUnmodifiableView();
+      addressLines_.makeImmutable();
+      return addressLines_;
     }
     /**
      *
      *
      * 
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2410,12 +2440,14 @@ public com.google.protobuf.ProtocolStringList getAddressLinesList() {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2434,6 +2466,7 @@ public int getAddressLinesCount() {
      *
      * 
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2442,12 +2475,14 @@ public int getAddressLinesCount() {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2467,6 +2502,7 @@ public java.lang.String getAddressLines(int index) {
      *
      * 
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2475,12 +2511,14 @@ public java.lang.String getAddressLines(int index) {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2500,6 +2538,7 @@ public com.google.protobuf.ByteString getAddressLinesBytes(int index) {
      *
      * 
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2508,12 +2547,14 @@ public com.google.protobuf.ByteString getAddressLinesBytes(int index) {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2532,6 +2573,7 @@ public Builder setAddressLines(int index, java.lang.String value) {
       }
       ensureAddressLinesIsMutable();
       addressLines_.set(index, value);
+      bitField0_ |= 0x00000100;
       onChanged();
       return this;
     }
@@ -2540,6 +2582,7 @@ public Builder setAddressLines(int index, java.lang.String value) {
      *
      * 
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2548,12 +2591,14 @@ public Builder setAddressLines(int index, java.lang.String value) {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2571,6 +2616,7 @@ public Builder addAddressLines(java.lang.String value) {
       }
       ensureAddressLinesIsMutable();
       addressLines_.add(value);
+      bitField0_ |= 0x00000100;
       onChanged();
       return this;
     }
@@ -2579,6 +2625,7 @@ public Builder addAddressLines(java.lang.String value) {
      *
      * 
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2587,12 +2634,14 @@ public Builder addAddressLines(java.lang.String value) {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2607,6 +2656,7 @@ public Builder addAddressLines(java.lang.String value) {
     public Builder addAllAddressLines(java.lang.Iterable values) {
       ensureAddressLinesIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addressLines_);
+      bitField0_ |= 0x00000100;
       onChanged();
       return this;
     }
@@ -2615,6 +2665,7 @@ public Builder addAllAddressLines(java.lang.Iterable values) {
      *
      * 
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2623,12 +2674,14 @@ public Builder addAllAddressLines(java.lang.Iterable values) {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2640,8 +2693,9 @@ public Builder addAllAddressLines(java.lang.Iterable values) {
      * @return This builder for chaining.
      */
     public Builder clearAddressLines() {
-      addressLines_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      addressLines_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000100);
+      ;
       onChanged();
       return this;
     }
@@ -2650,6 +2704,7 @@ public Builder clearAddressLines() {
      *
      * 
      * Unstructured address lines describing the lower levels of an address.
+     *
      * Because values in address_lines do not have type information and may
      * sometimes contain multiple values in a single field (e.g.
      * "Austin, TX"), it is important that the line order is clear. The order of
@@ -2658,12 +2713,14 @@ public Builder clearAddressLines() {
      * used to make it explicit (e.g. "ja" for large-to-small ordering and
      * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
      * an address can be selected based on the language.
+     *
      * The minimum permitted structural representation of an address consists
      * of a region_code with all remaining information placed in the
      * address_lines. It would be possible to format such an address very
      * approximately without geocoding, but no semantic reasoning could be
      * made about any of the address components until it was at least
      * partially resolved.
+     *
      * Creating an address only containing a region_code and address_lines, and
      * then geocoding is the recommended way to handle completely unstructured
      * addresses (as opposed to guessing which parts of the address should be
@@ -2682,18 +2739,19 @@ public Builder addAddressLinesBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensureAddressLinesIsMutable();
       addressLines_.add(value);
+      bitField0_ |= 0x00000100;
       onChanged();
       return this;
     }
 
-    private com.google.protobuf.LazyStringList recipients_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList recipients_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureRecipientsIsMutable() {
-      if (!((bitField0_ & 0x00000200) != 0)) {
+      if (!recipients_.isModifiable()) {
         recipients_ = new com.google.protobuf.LazyStringArrayList(recipients_);
-        bitField0_ |= 0x00000200;
       }
+      bitField0_ |= 0x00000200;
     }
     /**
      *
@@ -2709,7 +2767,8 @@ private void ensureRecipientsIsMutable() {
      * @return A list containing the recipients.
      */
     public com.google.protobuf.ProtocolStringList getRecipientsList() {
-      return recipients_.getUnmodifiableView();
+      recipients_.makeImmutable();
+      return recipients_;
     }
     /**
      *
@@ -2782,6 +2841,7 @@ public Builder setRecipients(int index, java.lang.String value) {
       }
       ensureRecipientsIsMutable();
       recipients_.set(index, value);
+      bitField0_ |= 0x00000200;
       onChanged();
       return this;
     }
@@ -2805,6 +2865,7 @@ public Builder addRecipients(java.lang.String value) {
       }
       ensureRecipientsIsMutable();
       recipients_.add(value);
+      bitField0_ |= 0x00000200;
       onChanged();
       return this;
     }
@@ -2825,6 +2886,7 @@ public Builder addRecipients(java.lang.String value) {
     public Builder addAllRecipients(java.lang.Iterable values) {
       ensureRecipientsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, recipients_);
+      bitField0_ |= 0x00000200;
       onChanged();
       return this;
     }
@@ -2842,8 +2904,9 @@ public Builder addAllRecipients(java.lang.Iterable values) {
      * @return This builder for chaining.
      */
     public Builder clearRecipients() {
-      recipients_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      recipients_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000200);
+      ;
       onChanged();
       return this;
     }
@@ -2868,6 +2931,7 @@ public Builder addRecipientsBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensureRecipientsIsMutable();
       recipients_.add(value);
+      bitField0_ |= 0x00000200;
       onChanged();
       return this;
     }
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java
index a760feb104..e4822d0d4f 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java
@@ -29,6 +29,7 @@ public interface PostalAddressOrBuilder
    * 
    * The schema revision of the `PostalAddress`. This must be set to 0, which is
    * the latest revision.
+   *
    * All new revisions **must** be backward compatible with old revisions.
    * 
* @@ -82,8 +83,10 @@ public interface PostalAddressOrBuilder * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -103,8 +106,10 @@ public interface PostalAddressOrBuilder * This can affect formatting in certain countries, but is not critical * to the correctness of the data and will never affect any validation or * other non-formatting related operations. + * * If this value is not known, it should be omitted (rather than specifying a * possibly incorrect default). + * * Examples: "zh-Hant", "ja", "ja-Latn", "en". *
* @@ -278,6 +283,7 @@ public interface PostalAddressOrBuilder * *
    * Unstructured address lines describing the lower levels of an address.
+   *
    * Because values in address_lines do not have type information and may
    * sometimes contain multiple values in a single field (e.g.
    * "Austin, TX"), it is important that the line order is clear. The order of
@@ -286,12 +292,14 @@ public interface PostalAddressOrBuilder
    * used to make it explicit (e.g. "ja" for large-to-small ordering and
    * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
    * an address can be selected based on the language.
+   *
    * The minimum permitted structural representation of an address consists
    * of a region_code with all remaining information placed in the
    * address_lines. It would be possible to format such an address very
    * approximately without geocoding, but no semantic reasoning could be
    * made about any of the address components until it was at least
    * partially resolved.
+   *
    * Creating an address only containing a region_code and address_lines, and
    * then geocoding is the recommended way to handle completely unstructured
    * addresses (as opposed to guessing which parts of the address should be
@@ -308,6 +316,7 @@ public interface PostalAddressOrBuilder
    *
    * 
    * Unstructured address lines describing the lower levels of an address.
+   *
    * Because values in address_lines do not have type information and may
    * sometimes contain multiple values in a single field (e.g.
    * "Austin, TX"), it is important that the line order is clear. The order of
@@ -316,12 +325,14 @@ public interface PostalAddressOrBuilder
    * used to make it explicit (e.g. "ja" for large-to-small ordering and
    * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
    * an address can be selected based on the language.
+   *
    * The minimum permitted structural representation of an address consists
    * of a region_code with all remaining information placed in the
    * address_lines. It would be possible to format such an address very
    * approximately without geocoding, but no semantic reasoning could be
    * made about any of the address components until it was at least
    * partially resolved.
+   *
    * Creating an address only containing a region_code and address_lines, and
    * then geocoding is the recommended way to handle completely unstructured
    * addresses (as opposed to guessing which parts of the address should be
@@ -338,6 +349,7 @@ public interface PostalAddressOrBuilder
    *
    * 
    * Unstructured address lines describing the lower levels of an address.
+   *
    * Because values in address_lines do not have type information and may
    * sometimes contain multiple values in a single field (e.g.
    * "Austin, TX"), it is important that the line order is clear. The order of
@@ -346,12 +358,14 @@ public interface PostalAddressOrBuilder
    * used to make it explicit (e.g. "ja" for large-to-small ordering and
    * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
    * an address can be selected based on the language.
+   *
    * The minimum permitted structural representation of an address consists
    * of a region_code with all remaining information placed in the
    * address_lines. It would be possible to format such an address very
    * approximately without geocoding, but no semantic reasoning could be
    * made about any of the address components until it was at least
    * partially resolved.
+   *
    * Creating an address only containing a region_code and address_lines, and
    * then geocoding is the recommended way to handle completely unstructured
    * addresses (as opposed to guessing which parts of the address should be
@@ -369,6 +383,7 @@ public interface PostalAddressOrBuilder
    *
    * 
    * Unstructured address lines describing the lower levels of an address.
+   *
    * Because values in address_lines do not have type information and may
    * sometimes contain multiple values in a single field (e.g.
    * "Austin, TX"), it is important that the line order is clear. The order of
@@ -377,12 +392,14 @@ public interface PostalAddressOrBuilder
    * used to make it explicit (e.g. "ja" for large-to-small ordering and
    * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
    * an address can be selected based on the language.
+   *
    * The minimum permitted structural representation of an address consists
    * of a region_code with all remaining information placed in the
    * address_lines. It would be possible to format such an address very
    * approximately without geocoding, but no semantic reasoning could be
    * made about any of the address components until it was at least
    * partially resolved.
+   *
    * Creating an address only containing a region_code and address_lines, and
    * then geocoding is the recommended way to handle completely unstructured
    * addresses (as opposed to guessing which parts of the address should be
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Quaternion.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Quaternion.java
index 95157b0a23..6106071ccb 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Quaternion.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Quaternion.java
@@ -25,41 +25,53 @@
  * A quaternion is defined as the quotient of two directed lines in a
  * three-dimensional space or equivalently as the quotient of two Euclidean
  * vectors (https://en.wikipedia.org/wiki/Quaternion).
+ *
  * Quaternions are often used in calculations involving three-dimensional
  * rotations (https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation),
  * as they provide greater mathematical robustness by avoiding the gimbal lock
  * problems that can be encountered when using Euler angles
  * (https://en.wikipedia.org/wiki/Gimbal_lock).
+ *
  * Quaternions are generally represented in this form:
+ *
  *     w + xi + yj + zk
+ *
  * where x, y, z, and w are real numbers, and i, j, and k are three imaginary
  * numbers.
+ *
  * Our naming choice `(x, y, z, w)` comes from the desire to avoid confusion for
  * those interested in the geometric properties of the quaternion in the 3D
  * Cartesian space. Other texts often use alternative names or subscripts, such
  * as `(a, b, c, d)`, `(1, i, j, k)`, or `(0, 1, 2, 3)`, which are perhaps
  * better suited for mathematical interpretations.
+ *
  * To avoid any confusion, as well as to maintain compatibility with a large
  * number of software libraries, the quaternions represented using the protocol
  * buffer below *must* follow the Hamilton convention, which defines `ij = k`
  * (i.e. a right-handed algebra), and therefore:
+ *
  *     i^2 = j^2 = k^2 = ijk = −1
  *     ij = −ji = k
  *     jk = −kj = i
  *     ki = −ik = j
+ *
  * Please DO NOT use this to represent quaternions that follow the JPL
  * convention, or any of the other quaternion flavors out there.
+ *
  * Definitions:
+ *
  *   - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`.
  *   - Unit (or normalized) quaternion: a quaternion whose norm is 1.
  *   - Pure quaternion: a quaternion whose scalar component (`w`) is 0.
  *   - Rotation quaternion: a unit quaternion used to represent rotation.
  *   - Orientation quaternion: a unit quaternion used to represent orientation.
+ *
  * A quaternion can be normalized by dividing it by its norm. The resulting
  * quaternion maintains the same direction, but has a norm of 1, i.e. it moves
  * on the unit sphere. This is generally necessary for rotation and orientation
  * quaternions, to avoid rounding errors:
  * https://en.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions
+ *
  * Note that `(x, y, z, w)` and `(-x, -y, -z, -w)` represent the same rotation,
  * but normalization would be even more useful, e.g. for comparison purposes, if
  * it would produce a unique representation. It is thus recommended that `w` be
@@ -87,11 +99,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Quaternion();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.type.QuaternionProto.internal_static_google_type_Quaternion_descriptor;
   }
@@ -379,41 +386,53 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * A quaternion is defined as the quotient of two directed lines in a
    * three-dimensional space or equivalently as the quotient of two Euclidean
    * vectors (https://en.wikipedia.org/wiki/Quaternion).
+   *
    * Quaternions are often used in calculations involving three-dimensional
    * rotations (https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation),
    * as they provide greater mathematical robustness by avoiding the gimbal lock
    * problems that can be encountered when using Euler angles
    * (https://en.wikipedia.org/wiki/Gimbal_lock).
+   *
    * Quaternions are generally represented in this form:
+   *
    *     w + xi + yj + zk
+   *
    * where x, y, z, and w are real numbers, and i, j, and k are three imaginary
    * numbers.
+   *
    * Our naming choice `(x, y, z, w)` comes from the desire to avoid confusion for
    * those interested in the geometric properties of the quaternion in the 3D
    * Cartesian space. Other texts often use alternative names or subscripts, such
    * as `(a, b, c, d)`, `(1, i, j, k)`, or `(0, 1, 2, 3)`, which are perhaps
    * better suited for mathematical interpretations.
+   *
    * To avoid any confusion, as well as to maintain compatibility with a large
    * number of software libraries, the quaternions represented using the protocol
    * buffer below *must* follow the Hamilton convention, which defines `ij = k`
    * (i.e. a right-handed algebra), and therefore:
+   *
    *     i^2 = j^2 = k^2 = ijk = −1
    *     ij = −ji = k
    *     jk = −kj = i
    *     ki = −ik = j
+   *
    * Please DO NOT use this to represent quaternions that follow the JPL
    * convention, or any of the other quaternion flavors out there.
+   *
    * Definitions:
+   *
    *   - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`.
    *   - Unit (or normalized) quaternion: a quaternion whose norm is 1.
    *   - Pure quaternion: a quaternion whose scalar component (`w`) is 0.
    *   - Rotation quaternion: a unit quaternion used to represent rotation.
    *   - Orientation quaternion: a unit quaternion used to represent orientation.
+   *
    * A quaternion can be normalized by dividing it by its norm. The resulting
    * quaternion maintains the same direction, but has a norm of 1, i.e. it moves
    * on the unit sphere. This is generally necessary for rotation and orientation
    * quaternions, to avoid rounding errors:
    * https://en.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions
+   *
    * Note that `(x, y, z, w)` and `(-x, -y, -z, -w)` represent the same rotation,
    * but normalization would be even more useful, e.g. for comparison purposes, if
    * it would produce a unique representation. It is thus recommended that `w` be
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java
index 0a0e46f926..ed87299077 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimeOfDay();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.type.TimeOfDayProto.internal_static_google_type_TimeOfDay_descriptor;
   }
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZone.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZone.java
index 372d9e7039..6662588a79 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZone.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZone.java
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimeZone();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.type.DateTimeProto.internal_static_google_type_TimeZone_descriptor;
   }
diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto
index d542de9e2f..6d01954eee 100644
--- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto
+++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto
@@ -307,7 +307,7 @@ message MethodSettings {
   // long-running operation pattern.
   // All default values below are from those used in the client library
   // generators (e.g.
-  // [Java](https://github.com/googleapis/sdk-platform-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
+  // [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
   message LongRunning {
     // Initial delay after which the first poll request will be made.
     // Default value: 5 seconds.
diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
index 9ea99aba54..3f8f779c24 100644
--- a/java-core/google-cloud-core-bom/pom.xml
+++ b/java-core/google-cloud-core-bom/pom.xml
@@ -3,13 +3,13 @@
   4.0.0
   com.google.cloud
   google-cloud-core-bom
-  2.18.1
+  2.19.0
   pom
 
   
     com.google.api
     gapic-generator-java-pom-parent
-    2.20.1
+    2.21.0
     ../../gapic-generator-java-pom-parent
   
 
@@ -23,17 +23,17 @@
       
         com.google.cloud
         google-cloud-core
-        2.18.1
+        2.19.0
       
       
         com.google.cloud
         google-cloud-core-grpc
-        2.18.1
+        2.19.0
       
       
         com.google.cloud
         google-cloud-core-http
-        2.18.1
+        2.19.0
       
     
   
diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
index dbcefd4850..64c3804fe2 100644
--- a/java-core/google-cloud-core-grpc/pom.xml
+++ b/java-core/google-cloud-core-grpc/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-core-grpc
-  2.18.1
+  2.19.0
   jar
   Google Cloud Core gRPC
   
@@ -12,7 +12,7 @@
   
     com.google.cloud
     google-cloud-core-parent
-    2.18.1
+    2.19.0
   
   
     google-cloud-core-grpc
diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml
index 7f5354075f..c080b4564d 100644
--- a/java-core/google-cloud-core-http/pom.xml
+++ b/java-core/google-cloud-core-http/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-core-http
-  2.18.1
+  2.19.0
   jar
   Google Cloud Core HTTP
   
@@ -12,7 +12,7 @@
   
     com.google.cloud
     google-cloud-core-parent
-    2.18.1
+    2.19.0
   
   
     google-cloud-core-http
diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
index 8fa80d7e3e..9e2eb269db 100644
--- a/java-core/google-cloud-core/pom.xml
+++ b/java-core/google-cloud-core/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-core
-  2.18.1
+  2.19.0
   jar
   Google Cloud Core
   
@@ -12,7 +12,7 @@
   
     com.google.cloud
     google-cloud-core-parent
-    2.18.1
+    2.19.0
   
   
     google-cloud-core
diff --git a/java-core/pom.xml b/java-core/pom.xml
index 3580991543..36ab87b614 100644
--- a/java-core/pom.xml
+++ b/java-core/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-core-parent
   pom
-  2.18.1
+  2.19.0
   Google Cloud Core Parent
   
     Java idiomatic client for Google Cloud Platform services.
@@ -13,7 +13,7 @@
   
     com.google.api
     gapic-generator-java-pom-parent
-    2.20.1
+    2.21.0
     ../gapic-generator-java-pom-parent
   
 
@@ -33,7 +33,7 @@
       
         com.google.cloud
         google-cloud-shared-dependencies
-        3.10.1
+        3.11.0
         pom
         import
       
diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml
index f01dacf97e..0a3e4d9cc2 100644
--- a/java-iam/grpc-google-iam-v1/pom.xml
+++ b/java-iam/grpc-google-iam-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-iam-v1
-  1.14.1
+  1.15.0
   grpc-google-iam-v1
   GRPC library for grpc-google-iam-v1
   
     com.google.cloud
     google-iam-parent
-    1.14.1
+    1.15.0
   
   
     
diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml
index 979ae62f13..6c87444427 100644
--- a/java-iam/grpc-google-iam-v2/pom.xml
+++ b/java-iam/grpc-google-iam-v2/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-iam-v2
-  1.14.1
+  1.15.0
   grpc-google-iam-v2
   GRPC library for proto-google-iam-v2
   
     com.google.cloud
     google-iam-parent
-    1.14.1
+    1.15.0
   
   
     
diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml
index 94eea795cf..3b802d8cdc 100644
--- a/java-iam/grpc-google-iam-v2beta/pom.xml
+++ b/java-iam/grpc-google-iam-v2beta/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-iam-v2beta
-  1.14.1
+  1.15.0
   grpc-google-iam-v2beta
   GRPC library for proto-google-iam-v1
   
     com.google.cloud
     google-iam-parent
-    1.14.1
+    1.15.0
   
   
     
diff --git a/java-iam/pom.xml b/java-iam/pom.xml
index 9b9b7e415a..0ce6174ccb 100644
--- a/java-iam/pom.xml
+++ b/java-iam/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-iam-parent
   pom
-  1.14.1
+  1.15.0
   Google IAM Parent
   
     Java idiomatic client for Google Cloud Platform services.
@@ -13,7 +13,7 @@
   
     com.google.api
     gapic-generator-java-pom-parent
-    2.20.1
+    2.21.0
     ../gapic-generator-java-pom-parent
   
 
@@ -34,11 +34,11 @@
   
     
       sonatype-nexus-snapshots
-      https://oss.sonatype.org/content/repositories/snapshots
+      https://google.oss.sonatype.org/content/repositories/snapshots
     
     
       sonatype-nexus-staging
-      https://oss.sonatype.org/service/local/staging/deploy/maven2/
+      https://google.oss.sonatype.org/service/local/staging/deploy/maven2/
     
   
   
@@ -81,44 +81,44 @@
       
         com.google.api
         gax-bom
-        2.28.1
+        2.29.0
         pom
         import
       
       
         com.google.api.grpc
         proto-google-iam-v2
-        1.14.1
+        1.15.0
       
       
         com.google.api.grpc
         grpc-google-iam-v2
-        1.14.1
+        1.15.0
       
       
         com.google.api.grpc
         proto-google-common-protos
-        2.19.1
+        2.20.0
       
       
         com.google.api.grpc
         proto-google-iam-v2beta
-        1.14.1
+        1.15.0
       
       
         com.google.api.grpc
         grpc-google-iam-v1
-        1.14.1
+        1.15.0
       
       
         com.google.api.grpc
         grpc-google-iam-v2beta
-        1.14.1
+        1.15.0
       
       
         com.google.api.grpc
         proto-google-iam-v1
-        1.14.1
+        1.15.0
       
       
         javax.annotation
diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml
index 48844dc842..69e974da6f 100644
--- a/java-iam/proto-google-iam-v1/pom.xml
+++ b/java-iam/proto-google-iam-v1/pom.xml
@@ -3,13 +3,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-iam-v1
-  1.14.1
+  1.15.0
   proto-google-iam-v1
   PROTO library for proto-google-iam-v1
   
     com.google.cloud
     google-iam-parent
-    1.14.1
+    1.15.0
   
   
     
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfig.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfig.java
index 5414ae4c2c..86f4dd996d 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfig.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfig.java
@@ -26,11 +26,14 @@
  * The configuration determines which permission types are logged, and what
  * identities, if any, are exempted from logging.
  * An AuditConfig must have one or more AuditLogConfigs.
+ *
  * If there are AuditConfigs for both `allServices` and a specific service,
  * the union of the two AuditConfigs is used for that service: the log_types
  * specified in each AuditConfig are enabled, and the exempted_members in each
  * AuditLogConfig are exempted.
+ *
  * Example Policy with multiple AuditConfigs:
+ *
  *     {
  *       "audit_configs": [
  *         {
@@ -66,6 +69,7 @@
  *         }
  *       ]
  *     }
+ *
  * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
  * logging. It also exempts jose@example.com from DATA_READ logging, and
  * aliya@example.com from DATA_WRITE logging.
@@ -94,11 +98,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AuditConfig();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfig_descriptor;
   }
@@ -414,11 +413,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * The configuration determines which permission types are logged, and what
    * identities, if any, are exempted from logging.
    * An AuditConfig must have one or more AuditLogConfigs.
+   *
    * If there are AuditConfigs for both `allServices` and a specific service,
    * the union of the two AuditConfigs is used for that service: the log_types
    * specified in each AuditConfig are enabled, and the exempted_members in each
    * AuditLogConfig are exempted.
+   *
    * Example Policy with multiple AuditConfigs:
+   *
    *     {
    *       "audit_configs": [
    *         {
@@ -454,6 +456,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *         }
    *       ]
    *     }
+   *
    * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
    * logging. It also exempts jose@example.com from DATA_READ logging, and
    * aliya@example.com from DATA_WRITE logging.
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java
index 9fc1f68b1d..440dab63d8 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java
@@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AuditConfigDelta();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor;
   }
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfig.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfig.java
index dbdb7e2c76..1e5f85f7a9 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfig.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfig.java
@@ -24,6 +24,7 @@
  * 
  * Provides the configuration for logging a type of permissions.
  * Example:
+ *
  *     {
  *       "audit_log_configs": [
  *         {
@@ -37,6 +38,7 @@
  *         }
  *       ]
  *     }
+ *
  * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
  * jose@example.com from DATA_READ logging.
  * 
@@ -55,7 +57,7 @@ private AuditLogConfig(com.google.protobuf.GeneratedMessageV3.Builder builder private AuditLogConfig() { logType_ = 0; - exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + exemptedMembers_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -64,11 +66,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditLogConfig(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditLogConfig_descriptor; } @@ -300,7 +297,8 @@ public com.google.iam.v1.AuditLogConfig.LogType getLogType() { public static final int EXEMPTED_MEMBERS_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList exemptedMembers_; + private com.google.protobuf.LazyStringArrayList exemptedMembers_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -551,6 +549,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Provides the configuration for logging a type of permissions.
    * Example:
+   *
    *     {
    *       "audit_log_configs": [
    *         {
@@ -564,6 +563,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *         }
    *       ]
    *     }
+   *
    * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
    * jose@example.com from DATA_READ logging.
    * 
@@ -600,8 +600,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; logType_ = 0; - exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + exemptedMembers_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -627,7 +626,6 @@ public com.google.iam.v1.AuditLogConfig build() { @java.lang.Override public com.google.iam.v1.AuditLogConfig buildPartial() { com.google.iam.v1.AuditLogConfig result = new com.google.iam.v1.AuditLogConfig(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -635,19 +633,15 @@ public com.google.iam.v1.AuditLogConfig buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.iam.v1.AuditLogConfig result) { - if (((bitField0_ & 0x00000002) != 0)) { - exemptedMembers_ = exemptedMembers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.exemptedMembers_ = exemptedMembers_; - } - private void buildPartial0(com.google.iam.v1.AuditLogConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.logType_ = logType_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + exemptedMembers_.makeImmutable(); + result.exemptedMembers_ = exemptedMembers_; + } } @java.lang.Override @@ -701,7 +695,7 @@ public Builder mergeFrom(com.google.iam.v1.AuditLogConfig other) { if (!other.exemptedMembers_.isEmpty()) { if (exemptedMembers_.isEmpty()) { exemptedMembers_ = other.exemptedMembers_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureExemptedMembersIsMutable(); exemptedMembers_.addAll(other.exemptedMembers_); @@ -856,14 +850,14 @@ public Builder clearLogType() { return this; } - private com.google.protobuf.LazyStringList exemptedMembers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList exemptedMembers_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureExemptedMembersIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!exemptedMembers_.isModifiable()) { exemptedMembers_ = new com.google.protobuf.LazyStringArrayList(exemptedMembers_); - bitField0_ |= 0x00000002; } + bitField0_ |= 0x00000002; } /** * @@ -880,7 +874,8 @@ private void ensureExemptedMembersIsMutable() { * @return A list containing the exemptedMembers. */ public com.google.protobuf.ProtocolStringList getExemptedMembersList() { - return exemptedMembers_.getUnmodifiableView(); + exemptedMembers_.makeImmutable(); + return exemptedMembers_; } /** * @@ -957,6 +952,7 @@ public Builder setExemptedMembers(int index, java.lang.String value) { } ensureExemptedMembersIsMutable(); exemptedMembers_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -981,6 +977,7 @@ public Builder addExemptedMembers(java.lang.String value) { } ensureExemptedMembersIsMutable(); exemptedMembers_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1002,6 +999,7 @@ public Builder addExemptedMembers(java.lang.String value) { public Builder addAllExemptedMembers(java.lang.Iterable values) { ensureExemptedMembersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exemptedMembers_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1020,8 +1018,9 @@ public Builder addAllExemptedMembers(java.lang.Iterable values * @return This builder for chaining. */ public Builder clearExemptedMembers() { - exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + exemptedMembers_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -1047,6 +1046,7 @@ public Builder addExemptedMembersBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureExemptedMembersIsMutable(); exemptedMembers_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java index b24aa460af..7068107547 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java @@ -39,7 +39,7 @@ private Binding(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Binding() { role_ = ""; - members_ = com.google.protobuf.LazyStringArrayList.EMPTY; + members_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Binding(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; } @@ -121,28 +116,37 @@ public com.google.protobuf.ByteString getRoleBytes() { public static final int MEMBERS_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList members_; + private com.google.protobuf.LazyStringArrayList members_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
    * Specifies the principals requesting access for a Cloud Platform resource.
    * `members` can have the following values:
+   *
    * * `allUsers`: A special identifier that represents anyone who is
    *    on the internet; with or without a Google account.
+   *
    * * `allAuthenticatedUsers`: A special identifier that represents anyone
    *    who is authenticated with a Google account or a service account.
+   *
    * * `user:{emailid}`: An email address that represents a specific Google
    *    account. For example, `alice@example.com` .
+   *
+   *
    * * `serviceAccount:{emailid}`: An email address that represents a service
    *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+   *
    * * `group:{emailid}`: An email address that represents a Google group.
    *    For example, `admins@example.com`.
+   *
    * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a user that has been recently deleted. For
    *    example, `alice@example.com?uid=123456789012345678901`. If the user is
    *    recovered, this value reverts to `user:{emailid}` and the recovered user
    *    retains the role in the binding.
+   *
    * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    *    unique identifier) representing a service account that has been recently
    *    deleted. For example,
@@ -150,11 +154,14 @@ public com.google.protobuf.ByteString getRoleBytes() {
    *    If the service account is undeleted, this value reverts to
    *    `serviceAccount:{emailid}` and the undeleted service account retains the
    *    role in the binding.
+   *
    * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a Google group that has been recently
    *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    *    the group is recovered, this value reverts to `group:{emailid}` and the
    *    recovered group retains the role in the binding.
+   *
+   *
    * * `domain:{domain}`: The G Suite domain (primary) that represents all the
    *    users of that domain. For example, `google.com` or `example.com`.
    * 
@@ -172,21 +179,29 @@ public com.google.protobuf.ProtocolStringList getMembersList() { *
    * Specifies the principals requesting access for a Cloud Platform resource.
    * `members` can have the following values:
+   *
    * * `allUsers`: A special identifier that represents anyone who is
    *    on the internet; with or without a Google account.
+   *
    * * `allAuthenticatedUsers`: A special identifier that represents anyone
    *    who is authenticated with a Google account or a service account.
+   *
    * * `user:{emailid}`: An email address that represents a specific Google
    *    account. For example, `alice@example.com` .
+   *
+   *
    * * `serviceAccount:{emailid}`: An email address that represents a service
    *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+   *
    * * `group:{emailid}`: An email address that represents a Google group.
    *    For example, `admins@example.com`.
+   *
    * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a user that has been recently deleted. For
    *    example, `alice@example.com?uid=123456789012345678901`. If the user is
    *    recovered, this value reverts to `user:{emailid}` and the recovered user
    *    retains the role in the binding.
+   *
    * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    *    unique identifier) representing a service account that has been recently
    *    deleted. For example,
@@ -194,11 +209,14 @@ public com.google.protobuf.ProtocolStringList getMembersList() {
    *    If the service account is undeleted, this value reverts to
    *    `serviceAccount:{emailid}` and the undeleted service account retains the
    *    role in the binding.
+   *
    * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a Google group that has been recently
    *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    *    the group is recovered, this value reverts to `group:{emailid}` and the
    *    recovered group retains the role in the binding.
+   *
+   *
    * * `domain:{domain}`: The G Suite domain (primary) that represents all the
    *    users of that domain. For example, `google.com` or `example.com`.
    * 
@@ -216,21 +234,29 @@ public int getMembersCount() { *
    * Specifies the principals requesting access for a Cloud Platform resource.
    * `members` can have the following values:
+   *
    * * `allUsers`: A special identifier that represents anyone who is
    *    on the internet; with or without a Google account.
+   *
    * * `allAuthenticatedUsers`: A special identifier that represents anyone
    *    who is authenticated with a Google account or a service account.
+   *
    * * `user:{emailid}`: An email address that represents a specific Google
    *    account. For example, `alice@example.com` .
+   *
+   *
    * * `serviceAccount:{emailid}`: An email address that represents a service
    *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+   *
    * * `group:{emailid}`: An email address that represents a Google group.
    *    For example, `admins@example.com`.
+   *
    * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a user that has been recently deleted. For
    *    example, `alice@example.com?uid=123456789012345678901`. If the user is
    *    recovered, this value reverts to `user:{emailid}` and the recovered user
    *    retains the role in the binding.
+   *
    * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    *    unique identifier) representing a service account that has been recently
    *    deleted. For example,
@@ -238,11 +264,14 @@ public int getMembersCount() {
    *    If the service account is undeleted, this value reverts to
    *    `serviceAccount:{emailid}` and the undeleted service account retains the
    *    role in the binding.
+   *
    * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a Google group that has been recently
    *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    *    the group is recovered, this value reverts to `group:{emailid}` and the
    *    recovered group retains the role in the binding.
+   *
+   *
    * * `domain:{domain}`: The G Suite domain (primary) that represents all the
    *    users of that domain. For example, `google.com` or `example.com`.
    * 
@@ -261,21 +290,29 @@ public java.lang.String getMembers(int index) { *
    * Specifies the principals requesting access for a Cloud Platform resource.
    * `members` can have the following values:
+   *
    * * `allUsers`: A special identifier that represents anyone who is
    *    on the internet; with or without a Google account.
+   *
    * * `allAuthenticatedUsers`: A special identifier that represents anyone
    *    who is authenticated with a Google account or a service account.
+   *
    * * `user:{emailid}`: An email address that represents a specific Google
    *    account. For example, `alice@example.com` .
+   *
+   *
    * * `serviceAccount:{emailid}`: An email address that represents a service
    *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+   *
    * * `group:{emailid}`: An email address that represents a Google group.
    *    For example, `admins@example.com`.
+   *
    * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a user that has been recently deleted. For
    *    example, `alice@example.com?uid=123456789012345678901`. If the user is
    *    recovered, this value reverts to `user:{emailid}` and the recovered user
    *    retains the role in the binding.
+   *
    * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    *    unique identifier) representing a service account that has been recently
    *    deleted. For example,
@@ -283,11 +320,14 @@ public java.lang.String getMembers(int index) {
    *    If the service account is undeleted, this value reverts to
    *    `serviceAccount:{emailid}` and the undeleted service account retains the
    *    role in the binding.
+   *
    * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a Google group that has been recently
    *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    *    the group is recovered, this value reverts to `group:{emailid}` and the
    *    recovered group retains the role in the binding.
+   *
+   *
    * * `domain:{domain}`: The G Suite domain (primary) that represents all the
    *    users of that domain. For example, `google.com` or `example.com`.
    * 
@@ -308,11 +348,14 @@ public com.google.protobuf.ByteString getMembersBytes(int index) { * *
    * The condition that is associated with this binding.
+   *
    * If the condition evaluates to `true`, then this binding applies to the
    * current request.
+   *
    * If the condition evaluates to `false`, then this binding does not apply to
    * the current request. However, a different role binding might grant the same
    * role to one or more of the principals in this binding.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -331,11 +374,14 @@ public boolean hasCondition() {
    *
    * 
    * The condition that is associated with this binding.
+   *
    * If the condition evaluates to `true`, then this binding applies to the
    * current request.
+   *
    * If the condition evaluates to `false`, then this binding does not apply to
    * the current request. However, a different role binding might grant the same
    * role to one or more of the principals in this binding.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -354,11 +400,14 @@ public com.google.type.Expr getCondition() {
    *
    * 
    * The condition that is associated with this binding.
+   *
    * If the condition evaluates to `true`, then this binding applies to the
    * current request.
+   *
    * If the condition evaluates to `false`, then this binding does not apply to
    * the current request. However, a different role binding might grant the same
    * role to one or more of the principals in this binding.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -595,8 +644,7 @@ public Builder clear() {
       super.clear();
       bitField0_ = 0;
       role_ = "";
-      members_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000002);
+      members_ = com.google.protobuf.LazyStringArrayList.emptyList();
       condition_ = null;
       if (conditionBuilder_ != null) {
         conditionBuilder_.dispose();
@@ -627,7 +675,6 @@ public com.google.iam.v1.Binding build() {
     @java.lang.Override
     public com.google.iam.v1.Binding buildPartial() {
       com.google.iam.v1.Binding result = new com.google.iam.v1.Binding(this);
-      buildPartialRepeatedFields(result);
       if (bitField0_ != 0) {
         buildPartial0(result);
       }
@@ -635,19 +682,15 @@ public com.google.iam.v1.Binding buildPartial() {
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.iam.v1.Binding result) {
-      if (((bitField0_ & 0x00000002) != 0)) {
-        members_ = members_.getUnmodifiableView();
-        bitField0_ = (bitField0_ & ~0x00000002);
-      }
-      result.members_ = members_;
-    }
-
     private void buildPartial0(com.google.iam.v1.Binding result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.role_ = role_;
       }
+      if (((from_bitField0_ & 0x00000002) != 0)) {
+        members_.makeImmutable();
+        result.members_ = members_;
+      }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
       }
@@ -706,7 +749,7 @@ public Builder mergeFrom(com.google.iam.v1.Binding other) {
       if (!other.members_.isEmpty()) {
         if (members_.isEmpty()) {
           members_ = other.members_;
-          bitField0_ = (bitField0_ & ~0x00000002);
+          bitField0_ |= 0x00000002;
         } else {
           ensureMembersIsMutable();
           members_.addAll(other.members_);
@@ -891,14 +934,14 @@ public Builder setRoleBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    private com.google.protobuf.LazyStringList members_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList members_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureMembersIsMutable() {
-      if (!((bitField0_ & 0x00000002) != 0)) {
+      if (!members_.isModifiable()) {
         members_ = new com.google.protobuf.LazyStringArrayList(members_);
-        bitField0_ |= 0x00000002;
       }
+      bitField0_ |= 0x00000002;
     }
     /**
      *
@@ -906,21 +949,29 @@ private void ensureMembersIsMutable() {
      * 
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -928,11 +979,14 @@ private void ensureMembersIsMutable() {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -942,7 +996,8 @@ private void ensureMembersIsMutable() { * @return A list containing the members. */ public com.google.protobuf.ProtocolStringList getMembersList() { - return members_.getUnmodifiableView(); + members_.makeImmutable(); + return members_; } /** * @@ -950,21 +1005,29 @@ public com.google.protobuf.ProtocolStringList getMembersList() { *
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -972,11 +1035,14 @@ public com.google.protobuf.ProtocolStringList getMembersList() {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -994,21 +1060,29 @@ public int getMembersCount() { *
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -1016,11 +1090,14 @@ public int getMembersCount() {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -1039,21 +1116,29 @@ public java.lang.String getMembers(int index) { *
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -1061,11 +1146,14 @@ public java.lang.String getMembers(int index) {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -1084,21 +1172,29 @@ public com.google.protobuf.ByteString getMembersBytes(int index) { *
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -1106,11 +1202,14 @@ public com.google.protobuf.ByteString getMembersBytes(int index) {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -1127,6 +1226,7 @@ public Builder setMembers(int index, java.lang.String value) { } ensureMembersIsMutable(); members_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1136,21 +1236,29 @@ public Builder setMembers(int index, java.lang.String value) { *
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -1158,11 +1266,14 @@ public Builder setMembers(int index, java.lang.String value) {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -1178,6 +1289,7 @@ public Builder addMembers(java.lang.String value) { } ensureMembersIsMutable(); members_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1187,21 +1299,29 @@ public Builder addMembers(java.lang.String value) { *
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -1209,11 +1329,14 @@ public Builder addMembers(java.lang.String value) {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -1226,6 +1349,7 @@ public Builder addMembers(java.lang.String value) { public Builder addAllMembers(java.lang.Iterable values) { ensureMembersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, members_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1235,21 +1359,29 @@ public Builder addAllMembers(java.lang.Iterable values) { *
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -1257,11 +1389,14 @@ public Builder addAllMembers(java.lang.Iterable values) {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -1271,8 +1406,9 @@ public Builder addAllMembers(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearMembers() { - members_ = com.google.protobuf.LazyStringArrayList.EMPTY; + members_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -1282,21 +1418,29 @@ public Builder clearMembers() { *
      * Specifies the principals requesting access for a Cloud Platform resource.
      * `members` can have the following values:
+     *
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
+     *
      * * `allAuthenticatedUsers`: A special identifier that represents anyone
      *    who is authenticated with a Google account or a service account.
+     *
      * * `user:{emailid}`: An email address that represents a specific Google
      *    account. For example, `alice@example.com` .
+     *
+     *
      * * `serviceAccount:{emailid}`: An email address that represents a service
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+     *
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     *
      * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a user that has been recently deleted. For
      *    example, `alice@example.com?uid=123456789012345678901`. If the user is
      *    recovered, this value reverts to `user:{emailid}` and the recovered user
      *    retains the role in the binding.
+     *
      * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
      *    unique identifier) representing a service account that has been recently
      *    deleted. For example,
@@ -1304,11 +1448,14 @@ public Builder clearMembers() {
      *    If the service account is undeleted, this value reverts to
      *    `serviceAccount:{emailid}` and the undeleted service account retains the
      *    role in the binding.
+     *
      * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
      *    identifier) representing a Google group that has been recently
      *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
      *    the group is recovered, this value reverts to `group:{emailid}` and the
      *    recovered group retains the role in the binding.
+     *
+     *
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      * 
@@ -1325,6 +1472,7 @@ public Builder addMembersBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureMembersIsMutable(); members_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1338,11 +1486,14 @@ public Builder addMembersBytes(com.google.protobuf.ByteString value) { * *
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1360,11 +1511,14 @@ public boolean hasCondition() {
      *
      * 
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1386,11 +1540,14 @@ public com.google.type.Expr getCondition() {
      *
      * 
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1416,11 +1573,14 @@ public Builder setCondition(com.google.type.Expr value) {
      *
      * 
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1443,11 +1603,14 @@ public Builder setCondition(com.google.type.Expr.Builder builderForValue) {
      *
      * 
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1476,11 +1639,14 @@ public Builder mergeCondition(com.google.type.Expr value) {
      *
      * 
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1503,11 +1669,14 @@ public Builder clearCondition() {
      *
      * 
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1525,11 +1694,14 @@ public com.google.type.Expr.Builder getConditionBuilder() {
      *
      * 
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1549,11 +1721,14 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
      *
      * 
      * The condition that is associated with this binding.
+     *
      * If the condition evaluates to `true`, then this binding applies to the
      * current request.
+     *
      * If the condition evaluates to `false`, then this binding does not apply to
      * the current request. However, a different role binding might grant the same
      * role to one or more of the principals in this binding.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java
index 340980bdfc..6282e03754 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BindingDelta();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor;
   }
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java
index b5e660fa3a..db97e10030 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java
@@ -56,21 +56,29 @@ public interface BindingOrBuilder
    * 
    * Specifies the principals requesting access for a Cloud Platform resource.
    * `members` can have the following values:
+   *
    * * `allUsers`: A special identifier that represents anyone who is
    *    on the internet; with or without a Google account.
+   *
    * * `allAuthenticatedUsers`: A special identifier that represents anyone
    *    who is authenticated with a Google account or a service account.
+   *
    * * `user:{emailid}`: An email address that represents a specific Google
    *    account. For example, `alice@example.com` .
+   *
+   *
    * * `serviceAccount:{emailid}`: An email address that represents a service
    *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+   *
    * * `group:{emailid}`: An email address that represents a Google group.
    *    For example, `admins@example.com`.
+   *
    * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a user that has been recently deleted. For
    *    example, `alice@example.com?uid=123456789012345678901`. If the user is
    *    recovered, this value reverts to `user:{emailid}` and the recovered user
    *    retains the role in the binding.
+   *
    * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    *    unique identifier) representing a service account that has been recently
    *    deleted. For example,
@@ -78,11 +86,14 @@ public interface BindingOrBuilder
    *    If the service account is undeleted, this value reverts to
    *    `serviceAccount:{emailid}` and the undeleted service account retains the
    *    role in the binding.
+   *
    * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a Google group that has been recently
    *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    *    the group is recovered, this value reverts to `group:{emailid}` and the
    *    recovered group retains the role in the binding.
+   *
+   *
    * * `domain:{domain}`: The G Suite domain (primary) that represents all the
    *    users of that domain. For example, `google.com` or `example.com`.
    * 
@@ -98,21 +109,29 @@ public interface BindingOrBuilder *
    * Specifies the principals requesting access for a Cloud Platform resource.
    * `members` can have the following values:
+   *
    * * `allUsers`: A special identifier that represents anyone who is
    *    on the internet; with or without a Google account.
+   *
    * * `allAuthenticatedUsers`: A special identifier that represents anyone
    *    who is authenticated with a Google account or a service account.
+   *
    * * `user:{emailid}`: An email address that represents a specific Google
    *    account. For example, `alice@example.com` .
+   *
+   *
    * * `serviceAccount:{emailid}`: An email address that represents a service
    *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+   *
    * * `group:{emailid}`: An email address that represents a Google group.
    *    For example, `admins@example.com`.
+   *
    * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a user that has been recently deleted. For
    *    example, `alice@example.com?uid=123456789012345678901`. If the user is
    *    recovered, this value reverts to `user:{emailid}` and the recovered user
    *    retains the role in the binding.
+   *
    * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    *    unique identifier) representing a service account that has been recently
    *    deleted. For example,
@@ -120,11 +139,14 @@ public interface BindingOrBuilder
    *    If the service account is undeleted, this value reverts to
    *    `serviceAccount:{emailid}` and the undeleted service account retains the
    *    role in the binding.
+   *
    * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a Google group that has been recently
    *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    *    the group is recovered, this value reverts to `group:{emailid}` and the
    *    recovered group retains the role in the binding.
+   *
+   *
    * * `domain:{domain}`: The G Suite domain (primary) that represents all the
    *    users of that domain. For example, `google.com` or `example.com`.
    * 
@@ -140,21 +162,29 @@ public interface BindingOrBuilder *
    * Specifies the principals requesting access for a Cloud Platform resource.
    * `members` can have the following values:
+   *
    * * `allUsers`: A special identifier that represents anyone who is
    *    on the internet; with or without a Google account.
+   *
    * * `allAuthenticatedUsers`: A special identifier that represents anyone
    *    who is authenticated with a Google account or a service account.
+   *
    * * `user:{emailid}`: An email address that represents a specific Google
    *    account. For example, `alice@example.com` .
+   *
+   *
    * * `serviceAccount:{emailid}`: An email address that represents a service
    *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+   *
    * * `group:{emailid}`: An email address that represents a Google group.
    *    For example, `admins@example.com`.
+   *
    * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a user that has been recently deleted. For
    *    example, `alice@example.com?uid=123456789012345678901`. If the user is
    *    recovered, this value reverts to `user:{emailid}` and the recovered user
    *    retains the role in the binding.
+   *
    * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    *    unique identifier) representing a service account that has been recently
    *    deleted. For example,
@@ -162,11 +192,14 @@ public interface BindingOrBuilder
    *    If the service account is undeleted, this value reverts to
    *    `serviceAccount:{emailid}` and the undeleted service account retains the
    *    role in the binding.
+   *
    * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a Google group that has been recently
    *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    *    the group is recovered, this value reverts to `group:{emailid}` and the
    *    recovered group retains the role in the binding.
+   *
+   *
    * * `domain:{domain}`: The G Suite domain (primary) that represents all the
    *    users of that domain. For example, `google.com` or `example.com`.
    * 
@@ -183,21 +216,29 @@ public interface BindingOrBuilder *
    * Specifies the principals requesting access for a Cloud Platform resource.
    * `members` can have the following values:
+   *
    * * `allUsers`: A special identifier that represents anyone who is
    *    on the internet; with or without a Google account.
+   *
    * * `allAuthenticatedUsers`: A special identifier that represents anyone
    *    who is authenticated with a Google account or a service account.
+   *
    * * `user:{emailid}`: An email address that represents a specific Google
    *    account. For example, `alice@example.com` .
+   *
+   *
    * * `serviceAccount:{emailid}`: An email address that represents a service
    *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
+   *
    * * `group:{emailid}`: An email address that represents a Google group.
    *    For example, `admins@example.com`.
+   *
    * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a user that has been recently deleted. For
    *    example, `alice@example.com?uid=123456789012345678901`. If the user is
    *    recovered, this value reverts to `user:{emailid}` and the recovered user
    *    retains the role in the binding.
+   *
    * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    *    unique identifier) representing a service account that has been recently
    *    deleted. For example,
@@ -205,11 +246,14 @@ public interface BindingOrBuilder
    *    If the service account is undeleted, this value reverts to
    *    `serviceAccount:{emailid}` and the undeleted service account retains the
    *    role in the binding.
+   *
    * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    *    identifier) representing a Google group that has been recently
    *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    *    the group is recovered, this value reverts to `group:{emailid}` and the
    *    recovered group retains the role in the binding.
+   *
+   *
    * * `domain:{domain}`: The G Suite domain (primary) that represents all the
    *    users of that domain. For example, `google.com` or `example.com`.
    * 
@@ -226,11 +270,14 @@ public interface BindingOrBuilder * *
    * The condition that is associated with this binding.
+   *
    * If the condition evaluates to `true`, then this binding applies to the
    * current request.
+   *
    * If the condition evaluates to `false`, then this binding does not apply to
    * the current request. However, a different role binding might grant the same
    * role to one or more of the principals in this binding.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -246,11 +293,14 @@ public interface BindingOrBuilder
    *
    * 
    * The condition that is associated with this binding.
+   *
    * If the condition evaluates to `true`, then this binding applies to the
    * current request.
+   *
    * If the condition evaluates to `false`, then this binding does not apply to
    * the current request. However, a different role binding might grant the same
    * role to one or more of the principals in this binding.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -266,11 +316,14 @@ public interface BindingOrBuilder
    *
    * 
    * The condition that is associated with this binding.
+   *
    * If the condition evaluates to `true`, then this binding applies to the
    * current request.
+   *
    * If the condition evaluates to `false`, then this binding does not apply to
    * the current request. However, a different role binding might grant the same
    * role to one or more of the principals in this binding.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java
index 532f56549c..0de2f70543 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetIamPolicyRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.iam.v1.IamPolicyProto
         .internal_static_google_iam_v1_GetIamPolicyRequest_descriptor;
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java
index 9484d8801c..e35ffbc58c 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetPolicyOptions();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.iam.v1.OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor;
   }
@@ -72,15 +67,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
    * Optional. The maximum policy version that will be used to format the
    * policy.
+   *
    * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    * rejected.
+   *
    * Requests for policies with any conditional role bindings must specify
    * version 3. Policies with no conditional role bindings may specify any valid
    * value or leave the field unset.
+   *
    * The policy in the response might use the policy version that you specified,
    * or it might use a lower policy version. For example, if you specify version
    * 3, but the policy has no conditional role bindings, the response uses
    * version 1.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -438,15 +437,19 @@ public Builder mergeFrom(
      * 
      * Optional. The maximum policy version that will be used to format the
      * policy.
+     *
      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
      * rejected.
+     *
      * Requests for policies with any conditional role bindings must specify
      * version 3. Policies with no conditional role bindings may specify any valid
      * value or leave the field unset.
+     *
      * The policy in the response might use the policy version that you specified,
      * or it might use a lower policy version. For example, if you specify version
      * 3, but the policy has no conditional role bindings, the response uses
      * version 1.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -466,15 +469,19 @@ public int getRequestedPolicyVersion() {
      * 
      * Optional. The maximum policy version that will be used to format the
      * policy.
+     *
      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
      * rejected.
+     *
      * Requests for policies with any conditional role bindings must specify
      * version 3. Policies with no conditional role bindings may specify any valid
      * value or leave the field unset.
+     *
      * The policy in the response might use the policy version that you specified,
      * or it might use a lower policy version. For example, if you specify version
      * 3, but the policy has no conditional role bindings, the response uses
      * version 1.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -498,15 +505,19 @@ public Builder setRequestedPolicyVersion(int value) {
      * 
      * Optional. The maximum policy version that will be used to format the
      * policy.
+     *
      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
      * rejected.
+     *
      * Requests for policies with any conditional role bindings must specify
      * version 3. Policies with no conditional role bindings may specify any valid
      * value or leave the field unset.
+     *
      * The policy in the response might use the policy version that you specified,
      * or it might use a lower policy version. For example, if you specify version
      * 3, but the policy has no conditional role bindings, the response uses
      * version 1.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java
index 1cd51a9971..e93425ad57 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java
@@ -29,15 +29,19 @@ public interface GetPolicyOptionsOrBuilder
    * 
    * Optional. The maximum policy version that will be used to format the
    * policy.
+   *
    * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    * rejected.
+   *
    * Requests for policies with any conditional role bindings must specify
    * version 3. Policies with no conditional role bindings may specify any valid
    * value or leave the field unset.
+   *
    * The policy in the response might use the policy version that you specified,
    * or it might use a lower policy version. For example, if you specify version
    * 3, but the policy has no conditional role bindings, the response uses
    * version 1.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java
index e1a3a44398..a61d0e275d 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java
@@ -58,31 +58,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_behavior.proto\032\031google/api/resource.pro"
           + "to\032\033google/iam/v1/options.proto\032\032google/"
           + "iam/v1/policy.proto\032 google/protobuf/fie"
-          + "ld_mask.proto\"\217\001\n\023SetIamPolicyRequest\022\033\n"
-          + "\010resource\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022*\n\006policy\030\002 \001"
-          + "(\0132\025.google.iam.v1.PolicyB\003\340A\002\022/\n\013update"
-          + "_mask\030\003 \001(\0132\032.google.protobuf.FieldMask\""
-          + "d\n\023GetIamPolicyRequest\022\033\n\010resource\030\001 \001(\t"
-          + "B\t\340A\002\372A\003\n\001*\0220\n\007options\030\002 \001(\0132\037.google.ia"
-          + "m.v1.GetPolicyOptions\"R\n\031TestIamPermissi"
-          + "onsRequest\022\033\n\010resource\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022"
-          + "\030\n\013permissions\030\002 \003(\tB\003\340A\002\"1\n\032TestIamPerm"
-          + "issionsResponse\022\023\n\013permissions\030\001 \003(\t2\264\003\n"
-          + "\tIAMPolicy\022t\n\014SetIamPolicy\022\".google.iam."
-          + "v1.SetIamPolicyRequest\032\025.google.iam.v1.P"
-          + "olicy\")\202\323\344\223\002#\"\036/v1/{resource=**}:setIamP"
-          + "olicy:\001*\022t\n\014GetIamPolicy\022\".google.iam.v1"
-          + ".GetIamPolicyRequest\032\025.google.iam.v1.Pol"
-          + "icy\")\202\323\344\223\002#\"\036/v1/{resource=**}:getIamPol"
-          + "icy:\001*\022\232\001\n\022TestIamPermissions\022(.google.i"
-          + "am.v1.TestIamPermissionsRequest\032).google"
-          + ".iam.v1.TestIamPermissionsResponse\"/\202\323\344\223"
-          + "\002)\"$/v1/{resource=**}:testIamPermissions"
-          + ":\001*\032\036\312A\033iam-meta-api.googleapis.comB\177\n\021c"
-          + "om.google.iam.v1B\016IamPolicyProtoP\001Z)clou"
-          + "d.google.com/go/iam/apiv1/iampb;iampb\370\001\001"
-          + "\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Cloud\\Ia"
-          + "m\\V1b\006proto3"
+          + "ld_mask.proto\"\221\001\n\023SetIamPolicyRequest\022\034\n"
+          + "\010resource\030\001 \001(\tB\n\342A\001\002\372A\003\n\001*\022+\n\006policy\030\002 "
+          + "\001(\0132\025.google.iam.v1.PolicyB\004\342A\001\002\022/\n\013upda"
+          + "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas"
+          + "k\"e\n\023GetIamPolicyRequest\022\034\n\010resource\030\001 \001"
+          + "(\tB\n\342A\001\002\372A\003\n\001*\0220\n\007options\030\002 \001(\0132\037.google"
+          + ".iam.v1.GetPolicyOptions\"T\n\031TestIamPermi"
+          + "ssionsRequest\022\034\n\010resource\030\001 \001(\tB\n\342A\001\002\372A\003"
+          + "\n\001*\022\031\n\013permissions\030\002 \003(\tB\004\342A\001\002\"1\n\032TestIa"
+          + "mPermissionsResponse\022\023\n\013permissions\030\001 \003("
+          + "\t2\264\003\n\tIAMPolicy\022t\n\014SetIamPolicy\022\".google"
+          + ".iam.v1.SetIamPolicyRequest\032\025.google.iam"
+          + ".v1.Policy\")\202\323\344\223\002#\"\036/v1/{resource=**}:se"
+          + "tIamPolicy:\001*\022t\n\014GetIamPolicy\022\".google.i"
+          + "am.v1.GetIamPolicyRequest\032\025.google.iam.v"
+          + "1.Policy\")\202\323\344\223\002#\"\036/v1/{resource=**}:getI"
+          + "amPolicy:\001*\022\232\001\n\022TestIamPermissions\022(.goo"
+          + "gle.iam.v1.TestIamPermissionsRequest\032).g"
+          + "oogle.iam.v1.TestIamPermissionsResponse\""
+          + "/\202\323\344\223\002)\"$/v1/{resource=**}:testIamPermis"
+          + "sions:\001*\032\036\312A\033iam-meta-api.googleapis.com"
+          + "B\177\n\021com.google.iam.v1B\016IamPolicyProtoP\001Z"
+          + ")cloud.google.com/go/iam/apiv1/iampb;iam"
+          + "pb\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Clo"
+          + "ud\\Iam\\V1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java
index 7f658f2af0..386c76cb87 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java
@@ -24,11 +24,14 @@
  * 
  * An Identity and Access Management (IAM) policy, which specifies access
  * controls for Google Cloud resources.
+ *
+ *
  * A `Policy` is a collection of `bindings`. A `binding` binds one or more
  * `members`, or principals, to a single `role`. Principals can be user
  * accounts, service accounts, Google groups, and domains (such as G Suite). A
  * `role` is a named list of permissions; each `role` can be an IAM predefined
  * role or a user-created custom role.
+ *
  * For some types of Google Cloud resources, a `binding` can also specify a
  * `condition`, which is a logical expression that allows access to a resource
  * only if the expression evaluates to `true`. A condition can add constraints
@@ -36,7 +39,9 @@
  * resources support conditions in their IAM policies, see the
  * [IAM
  * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ *
  * **JSON example:**
+ *
  *     {
  *       "bindings": [
  *         {
@@ -64,7 +69,9 @@
  *       "etag": "BwWWja0YfJA=",
  *       "version": 3
  *     }
+ *
  * **YAML example:**
+ *
  *     bindings:
  *     - members:
  *       - user:mike@example.com
@@ -81,6 +88,7 @@
  *         expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
  *     etag: BwWWja0YfJA=
  *     version: 3
+ *
  * For a description of IAM and its features, see the
  * [IAM documentation](https://cloud.google.com/iam/docs/).
  * 
@@ -109,11 +117,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Policy(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; } @@ -133,21 +136,27 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Specifies the format of the policy.
+   *
    * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
    * are rejected.
+   *
    * Any operation that affects conditional role bindings must specify version
    * `3`. This requirement applies to the following operations:
+   *
    * * Getting a policy that includes a conditional role binding
    * * Adding a conditional role binding to a policy
    * * Changing a conditional role binding in a policy
    * * Removing any role binding, with or without a condition, from a policy
    *   that includes conditions
+   *
    * **Important:** If you use IAM Conditions, you must include the `etag` field
    * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
    * you to overwrite a version `3` policy with a version `1` policy, and all of
    * the conditions in the version `3` policy are lost.
+   *
    * If a policy does not include any conditions, operations on that policy may
    * specify any valid version or leave the field unset.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -173,6 +182,7 @@ public int getVersion() {
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -194,6 +204,7 @@ public java.util.List getBindingsList() {
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -215,6 +226,7 @@ public java.util.List getBindingsO
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -236,6 +248,7 @@ public int getBindingsCount() {
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -257,6 +270,7 @@ public com.google.iam.v1.Binding getBindings(int index) {
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -356,6 +370,7 @@ public com.google.iam.v1.AuditConfigOrBuilder getAuditConfigsOrBuilder(int index
    * conditions: An `etag` is returned in the response to `getIamPolicy`, and
    * systems are expected to put that etag in the request to `setIamPolicy` to
    * ensure that their change will be applied to the same version of the policy.
+   *
    * **Important:** If you use IAM Conditions, you must include the `etag` field
    * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
    * you to overwrite a version `3` policy with a version `1` policy, and all of
@@ -565,11 +580,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * 
    * An Identity and Access Management (IAM) policy, which specifies access
    * controls for Google Cloud resources.
+   *
+   *
    * A `Policy` is a collection of `bindings`. A `binding` binds one or more
    * `members`, or principals, to a single `role`. Principals can be user
    * accounts, service accounts, Google groups, and domains (such as G Suite). A
    * `role` is a named list of permissions; each `role` can be an IAM predefined
    * role or a user-created custom role.
+   *
    * For some types of Google Cloud resources, a `binding` can also specify a
    * `condition`, which is a logical expression that allows access to a resource
    * only if the expression evaluates to `true`. A condition can add constraints
@@ -577,7 +595,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+   *
    * **JSON example:**
+   *
    *     {
    *       "bindings": [
    *         {
@@ -605,7 +625,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *       "etag": "BwWWja0YfJA=",
    *       "version": 3
    *     }
+   *
    * **YAML example:**
+   *
    *     bindings:
    *     - members:
    *       - user:mike@example.com
@@ -622,6 +644,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *         expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
    *     etag: BwWWja0YfJA=
    *     version: 3
+   *
    * For a description of IAM and its features, see the
    * [IAM documentation](https://cloud.google.com/iam/docs/).
    * 
@@ -927,21 +950,27 @@ public Builder mergeFrom( * *
      * Specifies the format of the policy.
+     *
      * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
      * are rejected.
+     *
      * Any operation that affects conditional role bindings must specify version
      * `3`. This requirement applies to the following operations:
+     *
      * * Getting a policy that includes a conditional role binding
      * * Adding a conditional role binding to a policy
      * * Changing a conditional role binding in a policy
      * * Removing any role binding, with or without a condition, from a policy
      *   that includes conditions
+     *
      * **Important:** If you use IAM Conditions, you must include the `etag` field
      * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
      * you to overwrite a version `3` policy with a version `1` policy, and all of
      * the conditions in the version `3` policy are lost.
+     *
      * If a policy does not include any conditions, operations on that policy may
      * specify any valid version or leave the field unset.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -960,21 +989,27 @@ public int getVersion() {
      *
      * 
      * Specifies the format of the policy.
+     *
      * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
      * are rejected.
+     *
      * Any operation that affects conditional role bindings must specify version
      * `3`. This requirement applies to the following operations:
+     *
      * * Getting a policy that includes a conditional role binding
      * * Adding a conditional role binding to a policy
      * * Changing a conditional role binding in a policy
      * * Removing any role binding, with or without a condition, from a policy
      *   that includes conditions
+     *
      * **Important:** If you use IAM Conditions, you must include the `etag` field
      * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
      * you to overwrite a version `3` policy with a version `1` policy, and all of
      * the conditions in the version `3` policy are lost.
+     *
      * If a policy does not include any conditions, operations on that policy may
      * specify any valid version or leave the field unset.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -997,21 +1032,27 @@ public Builder setVersion(int value) {
      *
      * 
      * Specifies the format of the policy.
+     *
      * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
      * are rejected.
+     *
      * Any operation that affects conditional role bindings must specify version
      * `3`. This requirement applies to the following operations:
+     *
      * * Getting a policy that includes a conditional role binding
      * * Adding a conditional role binding to a policy
      * * Changing a conditional role binding in a policy
      * * Removing any role binding, with or without a condition, from a policy
      *   that includes conditions
+     *
      * **Important:** If you use IAM Conditions, you must include the `etag` field
      * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
      * you to overwrite a version `3` policy with a version `1` policy, and all of
      * the conditions in the version `3` policy are lost.
+     *
      * If a policy does not include any conditions, operations on that policy may
      * specify any valid version or leave the field unset.
+     *
      * To learn which resources support conditions in their IAM policies, see the
      * [IAM
      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -1050,6 +1091,7 @@ private void ensureBindingsIsMutable() {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1074,6 +1116,7 @@ public java.util.List getBindingsList() {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1098,6 +1141,7 @@ public int getBindingsCount() {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1122,6 +1166,7 @@ public com.google.iam.v1.Binding getBindings(int index) {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1152,6 +1197,7 @@ public Builder setBindings(int index, com.google.iam.v1.Binding value) {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1179,6 +1225,7 @@ public Builder setBindings(int index, com.google.iam.v1.Binding.Builder builderF
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1209,6 +1256,7 @@ public Builder addBindings(com.google.iam.v1.Binding value) {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1239,6 +1287,7 @@ public Builder addBindings(int index, com.google.iam.v1.Binding value) {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1266,6 +1315,7 @@ public Builder addBindings(com.google.iam.v1.Binding.Builder builderForValue) {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1293,6 +1343,7 @@ public Builder addBindings(int index, com.google.iam.v1.Binding.Builder builderF
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1320,6 +1371,7 @@ public Builder addAllBindings(java.lang.Iterable getBindingsO
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1462,6 +1519,7 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder() {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1483,6 +1541,7 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder(int index) {
      * Associates a list of `members`, or principals, with a `role`. Optionally,
      * may specify a `condition` that determines how and when the `bindings` are
      * applied. Each of the `bindings` must contain at least one principal.
+     *
      * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
      * of these principals can be Google groups. Each occurrence of a principal
      * counts towards these limits. For example, if the `bindings` grant 50
@@ -1874,6 +1933,7 @@ public java.util.List getAuditConfigsBuil
      * conditions: An `etag` is returned in the response to `getIamPolicy`, and
      * systems are expected to put that etag in the request to `setIamPolicy` to
      * ensure that their change will be applied to the same version of the policy.
+     *
      * **Important:** If you use IAM Conditions, you must include the `etag` field
      * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
      * you to overwrite a version `3` policy with a version `1` policy, and all of
@@ -1899,6 +1959,7 @@ public com.google.protobuf.ByteString getEtag() {
      * conditions: An `etag` is returned in the response to `getIamPolicy`, and
      * systems are expected to put that etag in the request to `setIamPolicy` to
      * ensure that their change will be applied to the same version of the policy.
+     *
      * **Important:** If you use IAM Conditions, you must include the `etag` field
      * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
      * you to overwrite a version `3` policy with a version `1` policy, and all of
@@ -1930,6 +1991,7 @@ public Builder setEtag(com.google.protobuf.ByteString value) {
      * conditions: An `etag` is returned in the response to `getIamPolicy`, and
      * systems are expected to put that etag in the request to `setIamPolicy` to
      * ensure that their change will be applied to the same version of the policy.
+     *
      * **Important:** If you use IAM Conditions, you must include the `etag` field
      * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
      * you to overwrite a version `3` policy with a version `1` policy, and all of
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java
index 9ee92e988c..0bb05d202a 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PolicyDelta();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor;
   }
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java
index 449c1d790c..2039d3792a 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java
@@ -28,21 +28,27 @@ public interface PolicyOrBuilder
    *
    * 
    * Specifies the format of the policy.
+   *
    * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
    * are rejected.
+   *
    * Any operation that affects conditional role bindings must specify version
    * `3`. This requirement applies to the following operations:
+   *
    * * Getting a policy that includes a conditional role binding
    * * Adding a conditional role binding to a policy
    * * Changing a conditional role binding in a policy
    * * Removing any role binding, with or without a condition, from a policy
    *   that includes conditions
+   *
    * **Important:** If you use IAM Conditions, you must include the `etag` field
    * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
    * you to overwrite a version `3` policy with a version `1` policy, and all of
    * the conditions in the version `3` policy are lost.
+   *
    * If a policy does not include any conditions, operations on that policy may
    * specify any valid version or leave the field unset.
+   *
    * To learn which resources support conditions in their IAM policies, see the
    * [IAM
    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -61,6 +67,7 @@ public interface PolicyOrBuilder
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -79,6 +86,7 @@ public interface PolicyOrBuilder
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -97,6 +105,7 @@ public interface PolicyOrBuilder
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -115,6 +124,7 @@ public interface PolicyOrBuilder
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -133,6 +143,7 @@ public interface PolicyOrBuilder
    * Associates a list of `members`, or principals, with a `role`. Optionally,
    * may specify a `condition` that determines how and when the `bindings` are
    * applied. Each of the `bindings` must contain at least one principal.
+   *
    * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    * of these principals can be Google groups. Each occurrence of a principal
    * counts towards these limits. For example, if the `bindings` grant 50
@@ -207,6 +218,7 @@ public interface PolicyOrBuilder
    * conditions: An `etag` is returned in the response to `getIamPolicy`, and
    * systems are expected to put that etag in the request to `setIamPolicy` to
    * ensure that their change will be applied to the same version of the policy.
+   *
    * **Important:** If you use IAM Conditions, you must include the `etag` field
    * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
    * you to overwrite a version `3` policy with a version `1` policy, and all of
diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java
index 15561955bd..791d082320 100644
--- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java
+++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SetIamPolicyRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.iam.v1.IamPolicyProto
         .internal_static_google_iam_v1_SetIamPolicyRequest_descriptor;
@@ -188,6 +183,7 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
    * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
    * the fields in the mask will be modified. If no mask is provided, the
    * following default mask is used:
+   *
    * `paths: "bindings, etag"`
    * 
* @@ -206,6 +202,7 @@ public boolean hasUpdateMask() { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -224,6 +221,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -974,6 +972,7 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -991,6 +990,7 @@ public boolean hasUpdateMask() { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -1014,6 +1014,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -1039,6 +1040,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -1061,6 +1063,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -1089,6 +1092,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -1111,6 +1115,7 @@ public Builder clearUpdateMask() { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -1128,6 +1133,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -1149,6 +1155,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java index 48ab0dff5d..b7c42c8855 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java @@ -105,6 +105,7 @@ public interface SetIamPolicyRequestOrBuilder * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -120,6 +121,7 @@ public interface SetIamPolicyRequestOrBuilder * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* @@ -135,6 +137,7 @@ public interface SetIamPolicyRequestOrBuilder * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only * the fields in the mask will be modified. If no mask is provided, the * following default mask is used: + * * `paths: "bindings, etag"` *
* diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java index ee3530d94e..6f976b91d9 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java @@ -39,7 +39,7 @@ private TestIamPermissionsRequest(com.google.protobuf.GeneratedMessageV3.Builder private TestIamPermissionsRequest() { resource_ = ""; - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TestIamPermissionsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.IamPolicyProto .internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; @@ -128,7 +123,8 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int PERMISSIONS_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList permissions_; + private com.google.protobuf.LazyStringArrayList permissions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -415,8 +411,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; resource_ = ""; - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -444,7 +439,6 @@ public com.google.iam.v1.TestIamPermissionsRequest build() { public com.google.iam.v1.TestIamPermissionsRequest buildPartial() { com.google.iam.v1.TestIamPermissionsRequest result = new com.google.iam.v1.TestIamPermissionsRequest(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -452,19 +446,15 @@ public com.google.iam.v1.TestIamPermissionsRequest buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.iam.v1.TestIamPermissionsRequest result) { - if (((bitField0_ & 0x00000002) != 0)) { - permissions_ = permissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.permissions_ = permissions_; - } - private void buildPartial0(com.google.iam.v1.TestIamPermissionsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resource_ = resource_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + permissions_.makeImmutable(); + result.permissions_ = permissions_; + } } @java.lang.Override @@ -520,7 +510,7 @@ public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsRequest other) { if (!other.permissions_.isEmpty()) { if (permissions_.isEmpty()) { permissions_ = other.permissions_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensurePermissionsIsMutable(); permissions_.addAll(other.permissions_); @@ -706,14 +696,14 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList permissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList permissions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePermissionsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!permissions_.isModifiable()) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); - bitField0_ |= 0x00000002; } + bitField0_ |= 0x00000002; } /** * @@ -730,7 +720,8 @@ private void ensurePermissionsIsMutable() { * @return A list containing the permissions. */ public com.google.protobuf.ProtocolStringList getPermissionsList() { - return permissions_.getUnmodifiableView(); + permissions_.makeImmutable(); + return permissions_; } /** * @@ -807,6 +798,7 @@ public Builder setPermissions(int index, java.lang.String value) { } ensurePermissionsIsMutable(); permissions_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -831,6 +823,7 @@ public Builder addPermissions(java.lang.String value) { } ensurePermissionsIsMutable(); permissions_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -852,6 +845,7 @@ public Builder addPermissions(java.lang.String value) { public Builder addAllPermissions(java.lang.Iterable values) { ensurePermissionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -870,8 +864,9 @@ public Builder addAllPermissions(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearPermissions() { - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -897,6 +892,7 @@ public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java index 25fb71590e..5aa85996b5 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java @@ -38,7 +38,7 @@ private TestIamPermissionsResponse(com.google.protobuf.GeneratedMessageV3.Builde } private TestIamPermissionsResponse() { - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TestIamPermissionsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.IamPolicyProto .internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; @@ -70,7 +65,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int PERMISSIONS_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList permissions_; + private com.google.protobuf.LazyStringArrayList permissions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -339,8 +335,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -368,7 +363,6 @@ public com.google.iam.v1.TestIamPermissionsResponse build() { public com.google.iam.v1.TestIamPermissionsResponse buildPartial() { com.google.iam.v1.TestIamPermissionsResponse result = new com.google.iam.v1.TestIamPermissionsResponse(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -376,16 +370,12 @@ public com.google.iam.v1.TestIamPermissionsResponse buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.iam.v1.TestIamPermissionsResponse result) { - if (((bitField0_ & 0x00000001) != 0)) { - permissions_ = permissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.permissions_ = permissions_; - } - private void buildPartial0(com.google.iam.v1.TestIamPermissionsResponse result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + permissions_.makeImmutable(); + result.permissions_ = permissions_; + } } @java.lang.Override @@ -436,7 +426,7 @@ public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsResponse other) { if (!other.permissions_.isEmpty()) { if (permissions_.isEmpty()) { permissions_ = other.permissions_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensurePermissionsIsMutable(); permissions_.addAll(other.permissions_); @@ -495,14 +485,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList permissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList permissions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePermissionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!permissions_.isModifiable()) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -517,7 +507,8 @@ private void ensurePermissionsIsMutable() { * @return A list containing the permissions. */ public com.google.protobuf.ProtocolStringList getPermissionsList() { - return permissions_.getUnmodifiableView(); + permissions_.makeImmutable(); + return permissions_; } /** * @@ -586,6 +577,7 @@ public Builder setPermissions(int index, java.lang.String value) { } ensurePermissionsIsMutable(); permissions_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -608,6 +600,7 @@ public Builder addPermissions(java.lang.String value) { } ensurePermissionsIsMutable(); permissions_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -627,6 +620,7 @@ public Builder addPermissions(java.lang.String value) { public Builder addAllPermissions(java.lang.Iterable values) { ensurePermissionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -643,8 +637,9 @@ public Builder addAllPermissions(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearPermissions() { - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } @@ -668,6 +663,7 @@ public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 1a313fdea0..f8a3427c67 100644 --- a/java-iam/proto-google-iam-v2/pom.xml +++ b/java-iam/proto-google-iam-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v2 - 1.14.1 + 1.15.0 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.14.1 + 1.15.0 diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequest.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequest.java index 6d67c52f34..aebfd03e94 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequest.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePolicyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_CreatePolicyRequest_descriptor; @@ -78,10 +73,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource that the policy is attached to, along with the kind of policy
    * to create. Format: `policies/{attachment_point}/denypolicies`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -108,10 +106,13 @@ public java.lang.String getParent() { *
    * Required. The resource that the policy is attached to, along with the kind of policy
    * to create. Format: `policies/{attachment_point}/denypolicies`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -637,10 +638,13 @@ public Builder mergeFrom( *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -666,10 +670,13 @@ public java.lang.String getParent() { *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -695,10 +702,13 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -723,10 +733,13 @@ public Builder setParent(java.lang.String value) { *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -747,10 +760,13 @@ public Builder clearParent() { *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequestOrBuilder.java index 3825ae18ff..750931920c 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequestOrBuilder.java @@ -29,10 +29,13 @@ public interface CreatePolicyRequestOrBuilder *
    * Required. The resource that the policy is attached to, along with the kind of policy
    * to create. Format: `policies/{attachment_point}/denypolicies`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -48,10 +51,13 @@ public interface CreatePolicyRequestOrBuilder *
    * Required. The resource that the policy is attached to, along with the kind of policy
    * to create. Format: `policies/{attachment_point}/denypolicies`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequest.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequest.java index a1fc39876b..da614d7f5d 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequest.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePolicyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_DeletePolicyRequest_descriptor; @@ -78,9 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name of the policy to delete. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -107,9 +105,12 @@ public java.lang.String getName() { *
    * Required. The resource name of the policy to delete. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -142,6 +143,7 @@ public com.google.protobuf.ByteString getNameBytes() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -169,6 +171,7 @@ public java.lang.String getEtag() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -560,9 +563,12 @@ public Builder mergeFrom( *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -588,9 +594,12 @@ public java.lang.String getName() { *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -616,9 +625,12 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -643,9 +655,12 @@ public Builder setName(java.lang.String value) { *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -666,9 +681,12 @@ public Builder clearName() { *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -697,6 +715,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -723,6 +742,7 @@ public java.lang.String getEtag() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -749,6 +769,7 @@ public com.google.protobuf.ByteString getEtagBytes() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -774,6 +795,7 @@ public Builder setEtag(java.lang.String value) { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -795,6 +817,7 @@ public Builder clearEtag() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequestOrBuilder.java index 9bdd7fc3d3..16a7afe664 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequestOrBuilder.java @@ -29,9 +29,12 @@ public interface DeletePolicyRequestOrBuilder *
    * Required. The resource name of the policy to delete. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -47,9 +50,12 @@ public interface DeletePolicyRequestOrBuilder *
    * Required. The resource name of the policy to delete. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -67,6 +73,7 @@ public interface DeletePolicyRequestOrBuilder * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -83,6 +90,7 @@ public interface DeletePolicyRequestOrBuilder * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRule.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRule.java index 8fcf2a56fe..b2c67c6e00 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRule.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRule.java @@ -38,10 +38,10 @@ private DenyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private DenyRule() { - deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList(); + deniedPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DenyRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_descriptor; } @@ -70,39 +65,48 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int DENIED_PRINCIPALS_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList deniedPrincipals_; + private com.google.protobuf.LazyStringArrayList deniedPrincipals_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -122,32 +126,40 @@ public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() {
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -167,32 +179,40 @@ public int getDeniedPrincipalsCount() {
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -213,32 +233,40 @@ public java.lang.String getDeniedPrincipals(int index) {
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -257,7 +285,8 @@ public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) {
   public static final int EXCEPTION_PRINCIPALS_FIELD_NUMBER = 2;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList exceptionPrincipals_;
+  private com.google.protobuf.LazyStringArrayList exceptionPrincipals_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
@@ -266,6 +295,7 @@ public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) {
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -286,6 +316,7 @@ public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() {
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -306,6 +337,7 @@ public int getExceptionPrincipalsCount() {
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -327,6 +359,7 @@ public java.lang.String getExceptionPrincipals(int index) {
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -344,7 +377,8 @@ public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) {
   public static final int DENIED_PERMISSIONS_FIELD_NUMBER = 3;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList deniedPermissions_;
+  private com.google.protobuf.LazyStringArrayList deniedPermissions_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
@@ -419,7 +453,8 @@ public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) {
   public static final int EXCEPTION_PERMISSIONS_FIELD_NUMBER = 4;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList exceptionPermissions_;
+  private com.google.protobuf.LazyStringArrayList exceptionPermissions_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
@@ -428,6 +463,7 @@ public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) {
    * permissions given by `denied_permissions`. If a permission appears in
    * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be
    * denied.
+   *
    * The excluded permissions can be specified using the same syntax as
    * `denied_permissions`.
    * 
@@ -447,6 +483,7 @@ public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -466,6 +503,7 @@ public int getExceptionPermissionsCount() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -486,6 +524,7 @@ public java.lang.String getExceptionPermissions(int index) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -508,8 +547,10 @@ public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -531,8 +572,10 @@ public boolean hasDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -554,8 +597,10 @@ public com.google.type.Expr getDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -833,14 +878,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList(); + deniedPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); denialCondition_ = null; if (denialConditionBuilder_ != null) { denialConditionBuilder_.dispose(); @@ -871,7 +912,6 @@ public com.google.iam.v2.DenyRule build() { @java.lang.Override public com.google.iam.v2.DenyRule buildPartial() { com.google.iam.v2.DenyRule result = new com.google.iam.v2.DenyRule(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -879,31 +919,24 @@ public com.google.iam.v2.DenyRule buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.iam.v2.DenyRule result) { - if (((bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); + private void buildPartial0(com.google.iam.v2.DenyRule result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_.makeImmutable(); + result.deniedPrincipals_ = deniedPrincipals_; } - result.deniedPrincipals_ = deniedPrincipals_; - if (((bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + if (((from_bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_.makeImmutable(); + result.exceptionPrincipals_ = exceptionPrincipals_; } - result.exceptionPrincipals_ = exceptionPrincipals_; - if (((bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + if (((from_bitField0_ & 0x00000004) != 0)) { + deniedPermissions_.makeImmutable(); + result.deniedPermissions_ = deniedPermissions_; } - result.deniedPermissions_ = deniedPermissions_; - if (((bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + if (((from_bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_.makeImmutable(); + result.exceptionPermissions_ = exceptionPermissions_; } - result.exceptionPermissions_ = exceptionPermissions_; - } - - private void buildPartial0(com.google.iam.v2.DenyRule result) { - int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000010) != 0)) { result.denialCondition_ = denialConditionBuilder_ == null ? denialCondition_ : denialConditionBuilder_.build(); @@ -958,7 +991,7 @@ public Builder mergeFrom(com.google.iam.v2.DenyRule other) { if (!other.deniedPrincipals_.isEmpty()) { if (deniedPrincipals_.isEmpty()) { deniedPrincipals_ = other.deniedPrincipals_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureDeniedPrincipalsIsMutable(); deniedPrincipals_.addAll(other.deniedPrincipals_); @@ -968,7 +1001,7 @@ public Builder mergeFrom(com.google.iam.v2.DenyRule other) { if (!other.exceptionPrincipals_.isEmpty()) { if (exceptionPrincipals_.isEmpty()) { exceptionPrincipals_ = other.exceptionPrincipals_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureExceptionPrincipalsIsMutable(); exceptionPrincipals_.addAll(other.exceptionPrincipals_); @@ -978,7 +1011,7 @@ public Builder mergeFrom(com.google.iam.v2.DenyRule other) { if (!other.deniedPermissions_.isEmpty()) { if (deniedPermissions_.isEmpty()) { deniedPermissions_ = other.deniedPermissions_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ |= 0x00000004; } else { ensureDeniedPermissionsIsMutable(); deniedPermissions_.addAll(other.deniedPermissions_); @@ -988,7 +1021,7 @@ public Builder mergeFrom(com.google.iam.v2.DenyRule other) { if (!other.exceptionPermissions_.isEmpty()) { if (exceptionPermissions_.isEmpty()) { exceptionPermissions_ = other.exceptionPermissions_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ |= 0x00000008; } else { ensureExceptionPermissionsIsMutable(); exceptionPermissions_.addAll(other.exceptionPermissions_); @@ -1077,14 +1110,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList deniedPrincipals_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList deniedPrincipals_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDeniedPrincipalsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!deniedPrincipals_.isModifiable()) { deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(deniedPrincipals_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -1092,32 +1125,40 @@ private void ensureDeniedPrincipalsIsMutable() { *
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1129,7 +1170,8 @@ private void ensureDeniedPrincipalsIsMutable() {
      * @return A list containing the deniedPrincipals.
      */
     public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() {
-      return deniedPrincipals_.getUnmodifiableView();
+      deniedPrincipals_.makeImmutable();
+      return deniedPrincipals_;
     }
     /**
      *
@@ -1137,32 +1179,40 @@ public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1182,32 +1232,40 @@ public int getDeniedPrincipalsCount() {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1228,32 +1286,40 @@ public java.lang.String getDeniedPrincipals(int index) {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1274,32 +1340,40 @@ public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1318,6 +1392,7 @@ public Builder setDeniedPrincipals(int index, java.lang.String value) {
       }
       ensureDeniedPrincipalsIsMutable();
       deniedPrincipals_.set(index, value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -1327,32 +1402,40 @@ public Builder setDeniedPrincipals(int index, java.lang.String value) {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1370,6 +1453,7 @@ public Builder addDeniedPrincipals(java.lang.String value) {
       }
       ensureDeniedPrincipalsIsMutable();
       deniedPrincipals_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -1379,32 +1463,40 @@ public Builder addDeniedPrincipals(java.lang.String value) {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1419,6 +1511,7 @@ public Builder addDeniedPrincipals(java.lang.String value) {
     public Builder addAllDeniedPrincipals(java.lang.Iterable values) {
       ensureDeniedPrincipalsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPrincipals_);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -1428,32 +1521,40 @@ public Builder addAllDeniedPrincipals(java.lang.Iterable value
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1465,8 +1566,9 @@ public Builder addAllDeniedPrincipals(java.lang.Iterable value
      * @return This builder for chaining.
      */
     public Builder clearDeniedPrincipals() {
-      deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000001);
+      ;
       onChanged();
       return this;
     }
@@ -1476,32 +1578,40 @@ public Builder clearDeniedPrincipals() {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1520,18 +1630,19 @@ public Builder addDeniedPrincipalsBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensureDeniedPrincipalsIsMutable();
       deniedPrincipals_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
 
-    private com.google.protobuf.LazyStringList exceptionPrincipals_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList exceptionPrincipals_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureExceptionPrincipalsIsMutable() {
-      if (!((bitField0_ & 0x00000002) != 0)) {
+      if (!exceptionPrincipals_.isModifiable()) {
         exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(exceptionPrincipals_);
-        bitField0_ |= 0x00000002;
       }
+      bitField0_ |= 0x00000002;
     }
     /**
      *
@@ -1541,6 +1652,7 @@ private void ensureExceptionPrincipalsIsMutable() {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1551,7 +1663,8 @@ private void ensureExceptionPrincipalsIsMutable() {
      * @return A list containing the exceptionPrincipals.
      */
     public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() {
-      return exceptionPrincipals_.getUnmodifiableView();
+      exceptionPrincipals_.makeImmutable();
+      return exceptionPrincipals_;
     }
     /**
      *
@@ -1561,6 +1674,7 @@ public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1581,6 +1695,7 @@ public int getExceptionPrincipalsCount() {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1602,6 +1717,7 @@ public java.lang.String getExceptionPrincipals(int index) {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1623,6 +1739,7 @@ public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1640,6 +1757,7 @@ public Builder setExceptionPrincipals(int index, java.lang.String value) {
       }
       ensureExceptionPrincipalsIsMutable();
       exceptionPrincipals_.set(index, value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1651,6 +1769,7 @@ public Builder setExceptionPrincipals(int index, java.lang.String value) {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1667,6 +1786,7 @@ public Builder addExceptionPrincipals(java.lang.String value) {
       }
       ensureExceptionPrincipalsIsMutable();
       exceptionPrincipals_.add(value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1678,6 +1798,7 @@ public Builder addExceptionPrincipals(java.lang.String value) {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1691,6 +1812,7 @@ public Builder addExceptionPrincipals(java.lang.String value) {
     public Builder addAllExceptionPrincipals(java.lang.Iterable values) {
       ensureExceptionPrincipalsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPrincipals_);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1702,6 +1824,7 @@ public Builder addAllExceptionPrincipals(java.lang.Iterable va
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1712,8 +1835,9 @@ public Builder addAllExceptionPrincipals(java.lang.Iterable va
      * @return This builder for chaining.
      */
     public Builder clearExceptionPrincipals() {
-      exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000002);
+      ;
       onChanged();
       return this;
     }
@@ -1725,6 +1849,7 @@ public Builder clearExceptionPrincipals() {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1742,18 +1867,19 @@ public Builder addExceptionPrincipalsBytes(com.google.protobuf.ByteString value)
       checkByteStringIsUtf8(value);
       ensureExceptionPrincipalsIsMutable();
       exceptionPrincipals_.add(value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
 
-    private com.google.protobuf.LazyStringList deniedPermissions_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList deniedPermissions_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureDeniedPermissionsIsMutable() {
-      if (!((bitField0_ & 0x00000004) != 0)) {
+      if (!deniedPermissions_.isModifiable()) {
         deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(deniedPermissions_);
-        bitField0_ |= 0x00000004;
       }
+      bitField0_ |= 0x00000004;
     }
     /**
      *
@@ -1770,7 +1896,8 @@ private void ensureDeniedPermissionsIsMutable() {
      * @return A list containing the deniedPermissions.
      */
     public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() {
-      return deniedPermissions_.getUnmodifiableView();
+      deniedPermissions_.makeImmutable();
+      return deniedPermissions_;
     }
     /**
      *
@@ -1847,6 +1974,7 @@ public Builder setDeniedPermissions(int index, java.lang.String value) {
       }
       ensureDeniedPermissionsIsMutable();
       deniedPermissions_.set(index, value);
+      bitField0_ |= 0x00000004;
       onChanged();
       return this;
     }
@@ -1871,6 +1999,7 @@ public Builder addDeniedPermissions(java.lang.String value) {
       }
       ensureDeniedPermissionsIsMutable();
       deniedPermissions_.add(value);
+      bitField0_ |= 0x00000004;
       onChanged();
       return this;
     }
@@ -1892,6 +2021,7 @@ public Builder addDeniedPermissions(java.lang.String value) {
     public Builder addAllDeniedPermissions(java.lang.Iterable values) {
       ensureDeniedPermissionsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPermissions_);
+      bitField0_ |= 0x00000004;
       onChanged();
       return this;
     }
@@ -1910,8 +2040,9 @@ public Builder addAllDeniedPermissions(java.lang.Iterable valu
      * @return This builder for chaining.
      */
     public Builder clearDeniedPermissions() {
-      deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      deniedPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000004);
+      ;
       onChanged();
       return this;
     }
@@ -1937,18 +2068,19 @@ public Builder addDeniedPermissionsBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensureDeniedPermissionsIsMutable();
       deniedPermissions_.add(value);
+      bitField0_ |= 0x00000004;
       onChanged();
       return this;
     }
 
-    private com.google.protobuf.LazyStringList exceptionPermissions_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList exceptionPermissions_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureExceptionPermissionsIsMutable() {
-      if (!((bitField0_ & 0x00000008) != 0)) {
+      if (!exceptionPermissions_.isModifiable()) {
         exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(exceptionPermissions_);
-        bitField0_ |= 0x00000008;
       }
+      bitField0_ |= 0x00000008;
     }
     /**
      *
@@ -1958,6 +2090,7 @@ private void ensureExceptionPermissionsIsMutable() {
      * permissions given by `denied_permissions`. If a permission appears in
      * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be
      * denied.
+     *
      * The excluded permissions can be specified using the same syntax as
      * `denied_permissions`.
      * 
@@ -1967,7 +2100,8 @@ private void ensureExceptionPermissionsIsMutable() { * @return A list containing the exceptionPermissions. */ public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { - return exceptionPermissions_.getUnmodifiableView(); + exceptionPermissions_.makeImmutable(); + return exceptionPermissions_; } /** * @@ -1977,6 +2111,7 @@ public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -1996,6 +2131,7 @@ public int getExceptionPermissionsCount() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2016,6 +2152,7 @@ public java.lang.String getExceptionPermissions(int index) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2036,6 +2173,7 @@ public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2052,6 +2190,7 @@ public Builder setExceptionPermissions(int index, java.lang.String value) { } ensureExceptionPermissionsIsMutable(); exceptionPermissions_.set(index, value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2063,6 +2202,7 @@ public Builder setExceptionPermissions(int index, java.lang.String value) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2078,6 +2218,7 @@ public Builder addExceptionPermissions(java.lang.String value) { } ensureExceptionPermissionsIsMutable(); exceptionPermissions_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2089,6 +2230,7 @@ public Builder addExceptionPermissions(java.lang.String value) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2101,6 +2243,7 @@ public Builder addExceptionPermissions(java.lang.String value) { public Builder addAllExceptionPermissions(java.lang.Iterable values) { ensureExceptionPermissionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPermissions_); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2112,6 +2255,7 @@ public Builder addAllExceptionPermissions(java.lang.Iterable v * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2121,8 +2265,9 @@ public Builder addAllExceptionPermissions(java.lang.Iterable v * @return This builder for chaining. */ public Builder clearExceptionPermissions() { - exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } @@ -2134,6 +2279,7 @@ public Builder clearExceptionPermissions() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2150,6 +2296,7 @@ public Builder addExceptionPermissionsBytes(com.google.protobuf.ByteString value checkByteStringIsUtf8(value); ensureExceptionPermissionsIsMutable(); exceptionPermissions_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2165,8 +2312,10 @@ public Builder addExceptionPermissionsBytes(com.google.protobuf.ByteString value * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2187,8 +2336,10 @@ public boolean hasDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2215,8 +2366,10 @@ public com.google.type.Expr getDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2245,8 +2398,10 @@ public Builder setDenialCondition(com.google.type.Expr value) { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2272,8 +2427,10 @@ public Builder setDenialCondition(com.google.type.Expr.Builder builderForValue) * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2305,8 +2462,10 @@ public Builder mergeDenialCondition(com.google.type.Expr value) { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2332,8 +2491,10 @@ public Builder clearDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2354,8 +2515,10 @@ public com.google.type.Expr.Builder getDenialConditionBuilder() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2380,8 +2543,10 @@ public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleOrBuilder.java index 1d35367fb8..cb8dd9758c 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleOrBuilder.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleOrBuilder.java @@ -29,32 +29,40 @@ public interface DenyRuleOrBuilder *
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -72,32 +80,40 @@ public interface DenyRuleOrBuilder
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -115,32 +131,40 @@ public interface DenyRuleOrBuilder
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -159,32 +183,40 @@ public interface DenyRuleOrBuilder
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -206,6 +238,7 @@ public interface DenyRuleOrBuilder
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -224,6 +257,7 @@ public interface DenyRuleOrBuilder
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -242,6 +276,7 @@ public interface DenyRuleOrBuilder
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -261,6 +296,7 @@ public interface DenyRuleOrBuilder
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -344,6 +380,7 @@ public interface DenyRuleOrBuilder
    * permissions given by `denied_permissions`. If a permission appears in
    * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be
    * denied.
+   *
    * The excluded permissions can be specified using the same syntax as
    * `denied_permissions`.
    * 
@@ -361,6 +398,7 @@ public interface DenyRuleOrBuilder * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -378,6 +416,7 @@ public interface DenyRuleOrBuilder * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -396,6 +435,7 @@ public interface DenyRuleOrBuilder * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -414,8 +454,10 @@ public interface DenyRuleOrBuilder * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -434,8 +476,10 @@ public interface DenyRuleOrBuilder * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -454,8 +498,10 @@ public interface DenyRuleOrBuilder * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequest.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequest.java index 31ae9840b5..77cc07fc1b 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequest.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequest.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPolicyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_GetPolicyRequest_descriptor; } @@ -76,9 +71,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name of the policy to retrieve. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -105,9 +103,12 @@ public java.lang.String getName() { *
    * Required. The resource name of the policy to retrieve. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -474,9 +475,12 @@ public Builder mergeFrom( *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -502,9 +506,12 @@ public java.lang.String getName() { *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -530,9 +537,12 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -557,9 +567,12 @@ public Builder setName(java.lang.String value) { *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -580,9 +593,12 @@ public Builder clearName() { *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequestOrBuilder.java index 6f293a3267..4756f85ed0 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequestOrBuilder.java @@ -29,9 +29,12 @@ public interface GetPolicyRequestOrBuilder *
    * Required. The resource name of the policy to retrieve. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -47,9 +50,12 @@ public interface GetPolicyRequestOrBuilder *
    * Required. The resource name of the policy to retrieve. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequest.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequest.java index 42f23221d0..c73842ac23 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequest.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPoliciesRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_ListPoliciesRequest_descriptor; @@ -79,10 +74,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -110,10 +108,13 @@ public java.lang.String getParent() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -600,10 +601,13 @@ public Builder mergeFrom( * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -630,10 +634,13 @@ public java.lang.String getParent() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -660,10 +667,13 @@ public com.google.protobuf.ByteString getParentBytes() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -689,10 +699,13 @@ public Builder setParent(java.lang.String value) { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -714,10 +727,13 @@ public Builder clearParent() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequestOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequestOrBuilder.java index bfea871b46..45bde87af8 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequestOrBuilder.java @@ -30,10 +30,13 @@ public interface ListPoliciesRequestOrBuilder * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -50,10 +53,13 @@ public interface ListPoliciesRequestOrBuilder * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponse.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponse.java index 85d5cf7b5d..12b0194f2a 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponse.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponse.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPoliciesResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_ListPoliciesResponse_descriptor; diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/Policy.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/Policy.java index 2c6ad8972b..050d80fdb2 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/Policy.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/Policy.java @@ -53,11 +53,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Policy(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_descriptor; } @@ -91,10 +86,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { *
    * Immutable. The resource name of the `Policy`, which must be unique. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, requests can use the alphanumeric or the numeric ID.
    * Responses always contain the numeric ID.
@@ -122,10 +120,13 @@ public java.lang.String getName() {
    * 
    * Immutable. The resource name of the `Policy`, which must be unique. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, requests can use the alphanumeric or the numeric ID.
    * Responses always contain the numeric ID.
@@ -423,6 +424,7 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
    * An opaque tag that identifies the current version of the `Policy`. IAM uses
    * this value to help manage concurrent updates, so they do not cause one
    * update to be overwritten by another.
+   *
    * If this field is present in a [CreatePolicy][] request, the value is
    * ignored.
    * 
@@ -450,6 +452,7 @@ public java.lang.String getEtag() { * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
@@ -1426,10 +1429,13 @@ public Builder mergeFrom( *
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1456,10 +1462,13 @@ public java.lang.String getName() {
      * 
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1486,10 +1495,13 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1515,10 +1527,13 @@ public Builder setName(java.lang.String value) {
      * 
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1540,10 +1555,13 @@ public Builder clearName() {
      * 
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -2074,6 +2092,7 @@ public Builder putAllAnnotations(java.util.Map
@@ -2100,6 +2119,7 @@ public java.lang.String getEtag() {
      * An opaque tag that identifies the current version of the `Policy`. IAM uses
      * this value to help manage concurrent updates, so they do not cause one
      * update to be overwritten by another.
+     *
      * If this field is present in a [CreatePolicy][] request, the value is
      * ignored.
      * 
@@ -2126,6 +2146,7 @@ public com.google.protobuf.ByteString getEtagBytes() { * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
@@ -2151,6 +2172,7 @@ public Builder setEtag(java.lang.String value) { * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
@@ -2172,6 +2194,7 @@ public Builder clearEtag() { * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadata.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadata.java index 15a04e7840..1c91456cb8 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadata.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadata.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PolicyOperationMetadata(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOrBuilder.java index 44e15c3d3b..8e87db6374 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOrBuilder.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOrBuilder.java @@ -29,10 +29,13 @@ public interface PolicyOrBuilder *
    * Immutable. The resource name of the `Policy`, which must be unique. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, requests can use the alphanumeric or the numeric ID.
    * Responses always contain the numeric ID.
@@ -49,10 +52,13 @@ public interface PolicyOrBuilder
    * 
    * Immutable. The resource name of the `Policy`, which must be unique. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, requests can use the alphanumeric or the numeric ID.
    * Responses always contain the numeric ID.
@@ -213,6 +219,7 @@ java.lang.String getAnnotationsOrDefault(
    * An opaque tag that identifies the current version of the `Policy`. IAM uses
    * this value to help manage concurrent updates, so they do not cause one
    * update to be overwritten by another.
+   *
    * If this field is present in a [CreatePolicy][] request, the value is
    * ignored.
    * 
@@ -229,6 +236,7 @@ java.lang.String getAnnotationsOrDefault( * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyProto.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyProto.java index d7b59bfe2a..e8933f1a0c 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyProto.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyProto.java @@ -81,58 +81,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e/api/client.proto\032\037google/api/field_beh" + "avior.proto\032\030google/iam/v2/deny.proto\032#g" + "oogle/longrunning/operations.proto\032\037goog" - + "le/protobuf/timestamp.proto\"\302\003\n\006Policy\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\005\022\020\n\003uid\030\002 \001(\tB\003\340A\005\022\021\n\004k" - + "ind\030\003 \001(\tB\003\340A\003\022\024\n\014display_name\030\004 \001(\t\022;\n\013" - + "annotations\030\005 \003(\0132&.google.iam.v2.Policy" - + ".AnnotationsEntry\022\014\n\004etag\030\006 \001(\t\0224\n\013creat" - + "e_time\030\007 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\0224\n\013delete_time\030\t \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\022(\n\005rul" - + "es\030\n \003(\0132\031.google.iam.v2.PolicyRule\022\037\n\022m" - + "anaging_authority\030\013 \001(\tB\003\340A\005\0322\n\020Annotati" - + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"W\n\nPolicyRule\022,\n\tdeny_rule\030\002 \001(\0132\027.goog" - + "le.iam.v2.DenyRuleH\000\022\023\n\013description\030\001 \001(" - + "\tB\006\n\004kind\"Q\n\023ListPoliciesRequest\022\023\n\006pare" - + "nt\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" - + "_token\030\003 \001(\t\"X\n\024ListPoliciesResponse\022\'\n\010" - + "policies\030\001 \003(\0132\025.google.iam.v2.Policy\022\027\n" - + "\017next_page_token\030\002 \001(\t\"%\n\020GetPolicyReque" - + "st\022\021\n\004name\030\001 \001(\tB\003\340A\002\"i\n\023CreatePolicyReq" - + "uest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022*\n\006policy\030\002 \001(" - + "\0132\025.google.iam.v2.PolicyB\003\340A\002\022\021\n\tpolicy_" - + "id\030\003 \001(\t\"A\n\023UpdatePolicyRequest\022*\n\006polic" - + "y\030\001 \001(\0132\025.google.iam.v2.PolicyB\003\340A\002\";\n\023D" - + "eletePolicyRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\021\n" - + "\004etag\030\002 \001(\tB\003\340A\001\"J\n\027PolicyOperationMetad" - + "ata\022/\n\013create_time\030\001 \001(\0132\032.google.protob" - + "uf.Timestamp2\320\006\n\010Policies\022\203\001\n\014ListPolici" - + "es\022\".google.iam.v2.ListPoliciesRequest\032#" - + ".google.iam.v2.ListPoliciesResponse\"*\202\323\344" - + "\223\002\033\022\031/v2/{parent=policies/*/*}\332A\006parent\022" - + "m\n\tGetPolicy\022\037.google.iam.v2.GetPolicyRe" - + "quest\032\025.google.iam.v2.Policy\"(\202\323\344\223\002\033\022\031/v" - + "2/{name=policies/*/*/*}\332A\004name\022\272\001\n\014Creat" - + "ePolicy\022\".google.iam.v2.CreatePolicyRequ" - + "est\032\035.google.longrunning.Operation\"g\202\323\344\223" - + "\002#\"\031/v2/{parent=policies/*/*}:\006policy\332A\027" - + "parent,policy,policy_id\312A!\n\006Policy\022\027Poli" - + "cyOperationMetadata\022\247\001\n\014UpdatePolicy\022\".g" - + "oogle.iam.v2.UpdatePolicyRequest\032\035.googl" - + "e.longrunning.Operation\"T\202\323\344\223\002*\032 /v2/{po" - + "licy.name=policies/*/*/*}:\006policy\312A!\n\006Po" - + "licy\022\027PolicyOperationMetadata\022\237\001\n\014Delete" - + "Policy\022\".google.iam.v2.DeletePolicyReque" - + "st\032\035.google.longrunning.Operation\"L\202\323\344\223\002" - + "\033*\031/v2/{name=policies/*/*/*}\332A\004name\312A!\n\006" - + "Policy\022\027PolicyOperationMetadata\032F\312A\022iam." - + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformBy\n\021com.google.ia" - + "m.v2B\013PolicyProtoP\001Z)cloud.google.com/go" - + "/iam/apiv2/iampb;iampb\252\002\023Google.Cloud.Ia" - + "m.V2\312\002\023Google\\Cloud\\Iam\\V2b\006proto3" + + "le/protobuf/timestamp.proto\"\311\003\n\006Policy\022\022" + + "\n\004name\030\001 \001(\tB\004\342A\001\005\022\021\n\003uid\030\002 \001(\tB\004\342A\001\005\022\022\n" + + "\004kind\030\003 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\004 \001(\t\022" + + ";\n\013annotations\030\005 \003(\0132&.google.iam.v2.Pol" + + "icy.AnnotationsEntry\022\014\n\004etag\030\006 \001(\t\0225\n\013cr" + + "eate_time\030\007 \001(\0132\032.google.protobuf.Timest" + + "ampB\004\342A\001\003\0225\n\013update_time\030\010 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013delete_time\030" + + "\t \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "(\n\005rules\030\n \003(\0132\031.google.iam.v2.PolicyRul" + + "e\022 \n\022managing_authority\030\013 \001(\tB\004\342A\001\005\0322\n\020A" + + "nnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\"W\n\nPolicyRule\022,\n\tdeny_rule\030\002 \001(\013" + + "2\027.google.iam.v2.DenyRuleH\000\022\023\n\013descripti" + + "on\030\001 \001(\tB\006\n\004kind\"R\n\023ListPoliciesRequest\022" + + "\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030\002 \001(\005" + + "\022\022\n\npage_token\030\003 \001(\t\"X\n\024ListPoliciesResp" + + "onse\022\'\n\010policies\030\001 \003(\0132\025.google.iam.v2.P" + + "olicy\022\027\n\017next_page_token\030\002 \001(\t\"&\n\020GetPol" + + "icyRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\"k\n\023Create" + + "PolicyRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022+\n\006p" + + "olicy\030\002 \001(\0132\025.google.iam.v2.PolicyB\004\342A\001\002" + + "\022\021\n\tpolicy_id\030\003 \001(\t\"B\n\023UpdatePolicyReque" + + "st\022+\n\006policy\030\001 \001(\0132\025.google.iam.v2.Polic" + + "yB\004\342A\001\002\"=\n\023DeletePolicyRequest\022\022\n\004name\030\001" + + " \001(\tB\004\342A\001\002\022\022\n\004etag\030\002 \001(\tB\004\342A\001\001\"J\n\027Policy" + + "OperationMetadata\022/\n\013create_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp2\320\006\n\010Policies\022" + + "\203\001\n\014ListPolicies\022\".google.iam.v2.ListPol" + + "iciesRequest\032#.google.iam.v2.ListPolicie" + + "sResponse\"*\332A\006parent\202\323\344\223\002\033\022\031/v2/{parent=" + + "policies/*/*}\022m\n\tGetPolicy\022\037.google.iam." + + "v2.GetPolicyRequest\032\025.google.iam.v2.Poli" + + "cy\"(\332A\004name\202\323\344\223\002\033\022\031/v2/{name=policies/*/" + + "*/*}\022\272\001\n\014CreatePolicy\022\".google.iam.v2.Cr" + + "eatePolicyRequest\032\035.google.longrunning.O" + + "peration\"g\312A!\n\006Policy\022\027PolicyOperationMe" + + "tadata\332A\027parent,policy,policy_id\202\323\344\223\002#\"\031" + + "/v2/{parent=policies/*/*}:\006policy\022\247\001\n\014Up" + + "datePolicy\022\".google.iam.v2.UpdatePolicyR" + + "equest\032\035.google.longrunning.Operation\"T\312" + + "A!\n\006Policy\022\027PolicyOperationMetadata\202\323\344\223\002" + + "*\032 /v2/{policy.name=policies/*/*/*}:\006pol" + + "icy\022\237\001\n\014DeletePolicy\022\".google.iam.v2.Del" + + "etePolicyRequest\032\035.google.longrunning.Op" + + "eration\"L\312A!\n\006Policy\022\027PolicyOperationMet" + + "adata\332A\004name\202\323\344\223\002\033*\031/v2/{name=policies/*" + + "/*/*}\032F\312A\022iam.googleapis.com\322A.https://w" + + "ww.googleapis.com/auth/cloud-platformBy\n" + + "\021com.google.iam.v2B\013PolicyProtoP\001Z)cloud" + + ".google.com/go/iam/apiv2/iampb;iampb\252\002\023G" + + "oogle.Cloud.Iam.V2\312\002\023Google\\Cloud\\Iam\\V2" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRule.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRule.java index 9e842ab3f1..da2a6fce90 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRule.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRule.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PolicyRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_descriptor; } @@ -65,6 +60,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int kindCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object kind_; public enum KindCase diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRuleOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRuleOrBuilder.java index 712ec0723f..d3c32e76c7 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRuleOrBuilder.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRuleOrBuilder.java @@ -85,5 +85,5 @@ public interface PolicyRuleOrBuilder */ com.google.protobuf.ByteString getDescriptionBytes(); - public com.google.iam.v2.PolicyRule.KindCase getKindCase(); + com.google.iam.v2.PolicyRule.KindCase getKindCase(); } diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequest.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequest.java index bc506e2671..c4de3e992b 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequest.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequest.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePolicyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; @@ -72,6 +67,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -90,6 +86,7 @@ public boolean hasPolicy() {
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -108,6 +105,7 @@ public com.google.iam.v2.Policy getPolicy() {
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -477,6 +475,7 @@ public Builder mergeFrom(
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -494,6 +493,7 @@ public boolean hasPolicy() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -515,6 +515,7 @@ public com.google.iam.v2.Policy getPolicy() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -540,6 +541,7 @@ public Builder setPolicy(com.google.iam.v2.Policy value) {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -562,6 +564,7 @@ public Builder setPolicy(com.google.iam.v2.Policy.Builder builderForValue) {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -590,6 +593,7 @@ public Builder mergePolicy(com.google.iam.v2.Policy value) {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -612,6 +616,7 @@ public Builder clearPolicy() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -629,6 +634,7 @@ public com.google.iam.v2.Policy.Builder getPolicyBuilder() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -648,6 +654,7 @@ public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequestOrBuilder.java
index fa20ec03d5..3a26ee64ee 100644
--- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequestOrBuilder.java
+++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequestOrBuilder.java
@@ -28,6 +28,7 @@ public interface UpdatePolicyRequestOrBuilder
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -43,6 +44,7 @@ public interface UpdatePolicyRequestOrBuilder
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -58,6 +60,7 @@ public interface UpdatePolicyRequestOrBuilder
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml
index b0e73cba1f..44035ff87c 100644
--- a/java-iam/proto-google-iam-v2beta/pom.xml
+++ b/java-iam/proto-google-iam-v2beta/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-iam-v2beta
-  1.14.1
+  1.15.0
   proto-google-iam-v2beta
   Proto library for proto-google-iam-v1
   
     com.google.cloud
     google-iam-parent
-    1.14.1
+    1.15.0
   
   
     
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequest.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequest.java
index 370189917a..8bfee5bdb3 100644
--- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequest.java
+++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequest.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreatePolicyRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.iam.v2beta.PolicyProto
         .internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor;
@@ -78,10 +73,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
    * Required. The resource that the policy is attached to, along with the kind of policy
    * to create. Format: `policies/{attachment_point}/denypolicies`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -108,10 +106,13 @@ public java.lang.String getParent() { *
    * Required. The resource that the policy is attached to, along with the kind of policy
    * to create. Format: `policies/{attachment_point}/denypolicies`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -639,10 +640,13 @@ public Builder mergeFrom( *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -668,10 +672,13 @@ public java.lang.String getParent() { *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -697,10 +704,13 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -725,10 +735,13 @@ public Builder setParent(java.lang.String value) { *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -749,10 +762,13 @@ public Builder clearParent() { *
      * Required. The resource that the policy is attached to, along with the kind of policy
      * to create. Format: `policies/{attachment_point}/denypolicies`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequestOrBuilder.java index 24c4fc2fb6..51a7e57106 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequestOrBuilder.java @@ -29,10 +29,13 @@ public interface CreatePolicyRequestOrBuilder *
    * Required. The resource that the policy is attached to, along with the kind of policy
    * to create. Format: `policies/{attachment_point}/denypolicies`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -48,10 +51,13 @@ public interface CreatePolicyRequestOrBuilder *
    * Required. The resource that the policy is attached to, along with the kind of policy
    * to create. Format: `policies/{attachment_point}/denypolicies`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequest.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequest.java index 9eae189aef..45c3eece78 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequest.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePolicyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; @@ -78,9 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name of the policy to delete. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -107,9 +105,12 @@ public java.lang.String getName() { *
    * Required. The resource name of the policy to delete. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -142,6 +143,7 @@ public com.google.protobuf.ByteString getNameBytes() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -169,6 +171,7 @@ public java.lang.String getEtag() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -562,9 +565,12 @@ public Builder mergeFrom( *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -590,9 +596,12 @@ public java.lang.String getName() { *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -618,9 +627,12 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -645,9 +657,12 @@ public Builder setName(java.lang.String value) { *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -668,9 +683,12 @@ public Builder clearName() { *
      * Required. The resource name of the policy to delete. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -699,6 +717,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -725,6 +744,7 @@ public java.lang.String getEtag() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -751,6 +771,7 @@ public com.google.protobuf.ByteString getEtagBytes() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -776,6 +797,7 @@ public Builder setEtag(java.lang.String value) { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -797,6 +819,7 @@ public Builder clearEtag() { * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequestOrBuilder.java index 1b19529885..101572706d 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequestOrBuilder.java @@ -29,9 +29,12 @@ public interface DeletePolicyRequestOrBuilder *
    * Required. The resource name of the policy to delete. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -47,9 +50,12 @@ public interface DeletePolicyRequestOrBuilder *
    * Required. The resource name of the policy to delete. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -67,6 +73,7 @@ public interface DeletePolicyRequestOrBuilder * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
@@ -83,6 +90,7 @@ public interface DeletePolicyRequestOrBuilder * Optional. The expected `etag` of the policy to delete. If the value does not match * the value that is stored in IAM, the request fails with a `409` error code * and `ABORTED` status. + * * If you omit this field, the policy is deleted regardless of its current * `etag`. *
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRule.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRule.java index 2d2a3b6363..c3e7ce1587 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRule.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRule.java @@ -38,10 +38,10 @@ private DenyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private DenyRule() { - deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList(); + deniedPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DenyRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.DenyRuleProto .internal_static_google_iam_v2beta_DenyRule_descriptor; @@ -72,39 +67,48 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int DENIED_PRINCIPALS_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList deniedPrincipals_; + private com.google.protobuf.LazyStringArrayList deniedPrincipals_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -124,32 +128,40 @@ public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() {
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -169,32 +181,40 @@ public int getDeniedPrincipalsCount() {
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -215,32 +235,40 @@ public java.lang.String getDeniedPrincipals(int index) {
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -259,7 +287,8 @@ public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) {
   public static final int EXCEPTION_PRINCIPALS_FIELD_NUMBER = 2;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList exceptionPrincipals_;
+  private com.google.protobuf.LazyStringArrayList exceptionPrincipals_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
@@ -268,6 +297,7 @@ public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) {
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -288,6 +318,7 @@ public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() {
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -308,6 +339,7 @@ public int getExceptionPrincipalsCount() {
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -329,6 +361,7 @@ public java.lang.String getExceptionPrincipals(int index) {
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -346,7 +379,8 @@ public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) {
   public static final int DENIED_PERMISSIONS_FIELD_NUMBER = 3;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList deniedPermissions_;
+  private com.google.protobuf.LazyStringArrayList deniedPermissions_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
@@ -421,7 +455,8 @@ public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) {
   public static final int EXCEPTION_PERMISSIONS_FIELD_NUMBER = 4;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList exceptionPermissions_;
+  private com.google.protobuf.LazyStringArrayList exceptionPermissions_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
@@ -430,6 +465,7 @@ public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) {
    * permissions given by `denied_permissions`. If a permission appears in
    * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be
    * denied.
+   *
    * The excluded permissions can be specified using the same syntax as
    * `denied_permissions`.
    * 
@@ -449,6 +485,7 @@ public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -468,6 +505,7 @@ public int getExceptionPermissionsCount() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -488,6 +526,7 @@ public java.lang.String getExceptionPermissions(int index) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -510,8 +549,10 @@ public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -533,8 +574,10 @@ public boolean hasDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -556,8 +599,10 @@ public com.google.type.Expr getDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -836,14 +881,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList(); + deniedPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); denialCondition_ = null; if (denialConditionBuilder_ != null) { denialConditionBuilder_.dispose(); @@ -875,7 +916,6 @@ public com.google.iam.v2beta.DenyRule build() { @java.lang.Override public com.google.iam.v2beta.DenyRule buildPartial() { com.google.iam.v2beta.DenyRule result = new com.google.iam.v2beta.DenyRule(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -883,31 +923,24 @@ public com.google.iam.v2beta.DenyRule buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.iam.v2beta.DenyRule result) { - if (((bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); + private void buildPartial0(com.google.iam.v2beta.DenyRule result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_.makeImmutable(); + result.deniedPrincipals_ = deniedPrincipals_; } - result.deniedPrincipals_ = deniedPrincipals_; - if (((bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + if (((from_bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_.makeImmutable(); + result.exceptionPrincipals_ = exceptionPrincipals_; } - result.exceptionPrincipals_ = exceptionPrincipals_; - if (((bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + if (((from_bitField0_ & 0x00000004) != 0)) { + deniedPermissions_.makeImmutable(); + result.deniedPermissions_ = deniedPermissions_; } - result.deniedPermissions_ = deniedPermissions_; - if (((bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + if (((from_bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_.makeImmutable(); + result.exceptionPermissions_ = exceptionPermissions_; } - result.exceptionPermissions_ = exceptionPermissions_; - } - - private void buildPartial0(com.google.iam.v2beta.DenyRule result) { - int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000010) != 0)) { result.denialCondition_ = denialConditionBuilder_ == null ? denialCondition_ : denialConditionBuilder_.build(); @@ -962,7 +995,7 @@ public Builder mergeFrom(com.google.iam.v2beta.DenyRule other) { if (!other.deniedPrincipals_.isEmpty()) { if (deniedPrincipals_.isEmpty()) { deniedPrincipals_ = other.deniedPrincipals_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureDeniedPrincipalsIsMutable(); deniedPrincipals_.addAll(other.deniedPrincipals_); @@ -972,7 +1005,7 @@ public Builder mergeFrom(com.google.iam.v2beta.DenyRule other) { if (!other.exceptionPrincipals_.isEmpty()) { if (exceptionPrincipals_.isEmpty()) { exceptionPrincipals_ = other.exceptionPrincipals_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureExceptionPrincipalsIsMutable(); exceptionPrincipals_.addAll(other.exceptionPrincipals_); @@ -982,7 +1015,7 @@ public Builder mergeFrom(com.google.iam.v2beta.DenyRule other) { if (!other.deniedPermissions_.isEmpty()) { if (deniedPermissions_.isEmpty()) { deniedPermissions_ = other.deniedPermissions_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ |= 0x00000004; } else { ensureDeniedPermissionsIsMutable(); deniedPermissions_.addAll(other.deniedPermissions_); @@ -992,7 +1025,7 @@ public Builder mergeFrom(com.google.iam.v2beta.DenyRule other) { if (!other.exceptionPermissions_.isEmpty()) { if (exceptionPermissions_.isEmpty()) { exceptionPermissions_ = other.exceptionPermissions_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ |= 0x00000008; } else { ensureExceptionPermissionsIsMutable(); exceptionPermissions_.addAll(other.exceptionPermissions_); @@ -1081,14 +1114,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList deniedPrincipals_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList deniedPrincipals_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDeniedPrincipalsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!deniedPrincipals_.isModifiable()) { deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(deniedPrincipals_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -1096,32 +1129,40 @@ private void ensureDeniedPrincipalsIsMutable() { *
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1133,7 +1174,8 @@ private void ensureDeniedPrincipalsIsMutable() {
      * @return A list containing the deniedPrincipals.
      */
     public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() {
-      return deniedPrincipals_.getUnmodifiableView();
+      deniedPrincipals_.makeImmutable();
+      return deniedPrincipals_;
     }
     /**
      *
@@ -1141,32 +1183,40 @@ public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1186,32 +1236,40 @@ public int getDeniedPrincipalsCount() {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1232,32 +1290,40 @@ public java.lang.String getDeniedPrincipals(int index) {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1278,32 +1344,40 @@ public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1322,6 +1396,7 @@ public Builder setDeniedPrincipals(int index, java.lang.String value) {
       }
       ensureDeniedPrincipalsIsMutable();
       deniedPrincipals_.set(index, value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -1331,32 +1406,40 @@ public Builder setDeniedPrincipals(int index, java.lang.String value) {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1374,6 +1457,7 @@ public Builder addDeniedPrincipals(java.lang.String value) {
       }
       ensureDeniedPrincipalsIsMutable();
       deniedPrincipals_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -1383,32 +1467,40 @@ public Builder addDeniedPrincipals(java.lang.String value) {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1423,6 +1515,7 @@ public Builder addDeniedPrincipals(java.lang.String value) {
     public Builder addAllDeniedPrincipals(java.lang.Iterable values) {
       ensureDeniedPrincipalsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPrincipals_);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -1432,32 +1525,40 @@ public Builder addAllDeniedPrincipals(java.lang.Iterable value
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1469,8 +1570,9 @@ public Builder addAllDeniedPrincipals(java.lang.Iterable value
      * @return This builder for chaining.
      */
     public Builder clearDeniedPrincipals() {
-      deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000001);
+      ;
       onChanged();
       return this;
     }
@@ -1480,32 +1582,40 @@ public Builder clearDeniedPrincipals() {
      * 
      * The identities that are prevented from using one or more permissions on
      * Google Cloud resources. This field can contain the following values:
+     *
      * * `principalSet://goog/public:all`: A special identifier that represents
      *   any principal that is on the internet, even if they do not have a Google
      *   Account or are not logged in.
+     *
      * * `principal://goog/subject/{email_id}`: A specific Google Account.
      *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
      *   example, `principal://goog/subject/alice@example.com`.
+     *
      * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
      *   Google Account that was deleted recently. For example,
      *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
      *   the Google Account is recovered, this identifier reverts to the standard
      *   identifier for a Google Account.
+     *
      * * `principalSet://goog/group/{group_id}`: A Google group. For example,
      *   `principalSet://goog/group/admins@example.com`.
+     *
      * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
      *   that was deleted recently. For example,
      *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
      *   the Google group is restored, this identifier reverts to the standard
      *   identifier for a Google group.
+     *
      * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
      *   A Google Cloud service account. For example,
      *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+     *
      * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
      *   A Google Cloud service account that was deleted recently. For example,
      *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
      *   If the service account is undeleted, this identifier reverts to the
      *   standard identifier for a service account.
+     *
      * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
      *   principals associated with the specified Google Workspace or Cloud
      *   Identity customer ID. For example,
@@ -1524,18 +1634,19 @@ public Builder addDeniedPrincipalsBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensureDeniedPrincipalsIsMutable();
       deniedPrincipals_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
 
-    private com.google.protobuf.LazyStringList exceptionPrincipals_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList exceptionPrincipals_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureExceptionPrincipalsIsMutable() {
-      if (!((bitField0_ & 0x00000002) != 0)) {
+      if (!exceptionPrincipals_.isModifiable()) {
         exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(exceptionPrincipals_);
-        bitField0_ |= 0x00000002;
       }
+      bitField0_ |= 0x00000002;
     }
     /**
      *
@@ -1545,6 +1656,7 @@ private void ensureExceptionPrincipalsIsMutable() {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1555,7 +1667,8 @@ private void ensureExceptionPrincipalsIsMutable() {
      * @return A list containing the exceptionPrincipals.
      */
     public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() {
-      return exceptionPrincipals_.getUnmodifiableView();
+      exceptionPrincipals_.makeImmutable();
+      return exceptionPrincipals_;
     }
     /**
      *
@@ -1565,6 +1678,7 @@ public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1585,6 +1699,7 @@ public int getExceptionPrincipalsCount() {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1606,6 +1721,7 @@ public java.lang.String getExceptionPrincipals(int index) {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1627,6 +1743,7 @@ public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1644,6 +1761,7 @@ public Builder setExceptionPrincipals(int index, java.lang.String value) {
       }
       ensureExceptionPrincipalsIsMutable();
       exceptionPrincipals_.set(index, value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1655,6 +1773,7 @@ public Builder setExceptionPrincipals(int index, java.lang.String value) {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1671,6 +1790,7 @@ public Builder addExceptionPrincipals(java.lang.String value) {
       }
       ensureExceptionPrincipalsIsMutable();
       exceptionPrincipals_.add(value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1682,6 +1802,7 @@ public Builder addExceptionPrincipals(java.lang.String value) {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1695,6 +1816,7 @@ public Builder addExceptionPrincipals(java.lang.String value) {
     public Builder addAllExceptionPrincipals(java.lang.Iterable values) {
       ensureExceptionPrincipalsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPrincipals_);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -1706,6 +1828,7 @@ public Builder addAllExceptionPrincipals(java.lang.Iterable va
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1716,8 +1839,9 @@ public Builder addAllExceptionPrincipals(java.lang.Iterable va
      * @return This builder for chaining.
      */
     public Builder clearExceptionPrincipals() {
-      exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000002);
+      ;
       onChanged();
       return this;
     }
@@ -1729,6 +1853,7 @@ public Builder clearExceptionPrincipals() {
      * listed in the `denied_principals`. For example, you could add a Google
      * group to the `denied_principals`, then exclude specific users who belong to
      * that group.
+     *
      * This field can contain the same values as the `denied_principals` field,
      * excluding `principalSet://goog/public:all`, which represents all users on
      * the internet.
@@ -1746,18 +1871,19 @@ public Builder addExceptionPrincipalsBytes(com.google.protobuf.ByteString value)
       checkByteStringIsUtf8(value);
       ensureExceptionPrincipalsIsMutable();
       exceptionPrincipals_.add(value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
 
-    private com.google.protobuf.LazyStringList deniedPermissions_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList deniedPermissions_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureDeniedPermissionsIsMutable() {
-      if (!((bitField0_ & 0x00000004) != 0)) {
+      if (!deniedPermissions_.isModifiable()) {
         deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(deniedPermissions_);
-        bitField0_ |= 0x00000004;
       }
+      bitField0_ |= 0x00000004;
     }
     /**
      *
@@ -1774,7 +1900,8 @@ private void ensureDeniedPermissionsIsMutable() {
      * @return A list containing the deniedPermissions.
      */
     public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() {
-      return deniedPermissions_.getUnmodifiableView();
+      deniedPermissions_.makeImmutable();
+      return deniedPermissions_;
     }
     /**
      *
@@ -1851,6 +1978,7 @@ public Builder setDeniedPermissions(int index, java.lang.String value) {
       }
       ensureDeniedPermissionsIsMutable();
       deniedPermissions_.set(index, value);
+      bitField0_ |= 0x00000004;
       onChanged();
       return this;
     }
@@ -1875,6 +2003,7 @@ public Builder addDeniedPermissions(java.lang.String value) {
       }
       ensureDeniedPermissionsIsMutable();
       deniedPermissions_.add(value);
+      bitField0_ |= 0x00000004;
       onChanged();
       return this;
     }
@@ -1896,6 +2025,7 @@ public Builder addDeniedPermissions(java.lang.String value) {
     public Builder addAllDeniedPermissions(java.lang.Iterable values) {
       ensureDeniedPermissionsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPermissions_);
+      bitField0_ |= 0x00000004;
       onChanged();
       return this;
     }
@@ -1914,8 +2044,9 @@ public Builder addAllDeniedPermissions(java.lang.Iterable valu
      * @return This builder for chaining.
      */
     public Builder clearDeniedPermissions() {
-      deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      deniedPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000004);
+      ;
       onChanged();
       return this;
     }
@@ -1941,18 +2072,19 @@ public Builder addDeniedPermissionsBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensureDeniedPermissionsIsMutable();
       deniedPermissions_.add(value);
+      bitField0_ |= 0x00000004;
       onChanged();
       return this;
     }
 
-    private com.google.protobuf.LazyStringList exceptionPermissions_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList exceptionPermissions_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureExceptionPermissionsIsMutable() {
-      if (!((bitField0_ & 0x00000008) != 0)) {
+      if (!exceptionPermissions_.isModifiable()) {
         exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(exceptionPermissions_);
-        bitField0_ |= 0x00000008;
       }
+      bitField0_ |= 0x00000008;
     }
     /**
      *
@@ -1962,6 +2094,7 @@ private void ensureExceptionPermissionsIsMutable() {
      * permissions given by `denied_permissions`. If a permission appears in
      * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be
      * denied.
+     *
      * The excluded permissions can be specified using the same syntax as
      * `denied_permissions`.
      * 
@@ -1971,7 +2104,8 @@ private void ensureExceptionPermissionsIsMutable() { * @return A list containing the exceptionPermissions. */ public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { - return exceptionPermissions_.getUnmodifiableView(); + exceptionPermissions_.makeImmutable(); + return exceptionPermissions_; } /** * @@ -1981,6 +2115,7 @@ public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2000,6 +2135,7 @@ public int getExceptionPermissionsCount() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2020,6 +2156,7 @@ public java.lang.String getExceptionPermissions(int index) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2040,6 +2177,7 @@ public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2056,6 +2194,7 @@ public Builder setExceptionPermissions(int index, java.lang.String value) { } ensureExceptionPermissionsIsMutable(); exceptionPermissions_.set(index, value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2067,6 +2206,7 @@ public Builder setExceptionPermissions(int index, java.lang.String value) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2082,6 +2222,7 @@ public Builder addExceptionPermissions(java.lang.String value) { } ensureExceptionPermissionsIsMutable(); exceptionPermissions_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2093,6 +2234,7 @@ public Builder addExceptionPermissions(java.lang.String value) { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2105,6 +2247,7 @@ public Builder addExceptionPermissions(java.lang.String value) { public Builder addAllExceptionPermissions(java.lang.Iterable values) { ensureExceptionPermissionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPermissions_); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2116,6 +2259,7 @@ public Builder addAllExceptionPermissions(java.lang.Iterable v * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2125,8 +2269,9 @@ public Builder addAllExceptionPermissions(java.lang.Iterable v * @return This builder for chaining. */ public Builder clearExceptionPermissions() { - exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } @@ -2138,6 +2283,7 @@ public Builder clearExceptionPermissions() { * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -2154,6 +2300,7 @@ public Builder addExceptionPermissionsBytes(com.google.protobuf.ByteString value checkByteStringIsUtf8(value); ensureExceptionPermissionsIsMutable(); exceptionPermissions_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2169,8 +2316,10 @@ public Builder addExceptionPermissionsBytes(com.google.protobuf.ByteString value * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2191,8 +2340,10 @@ public boolean hasDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2219,8 +2370,10 @@ public com.google.type.Expr getDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2249,8 +2402,10 @@ public Builder setDenialCondition(com.google.type.Expr value) { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2276,8 +2431,10 @@ public Builder setDenialCondition(com.google.type.Expr.Builder builderForValue) * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2309,8 +2466,10 @@ public Builder mergeDenialCondition(com.google.type.Expr value) { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2336,8 +2495,10 @@ public Builder clearDenialCondition() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2358,8 +2519,10 @@ public com.google.type.Expr.Builder getDenialConditionBuilder() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -2384,8 +2547,10 @@ public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleOrBuilder.java index 30258206ce..28e0b45b8f 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleOrBuilder.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleOrBuilder.java @@ -29,32 +29,40 @@ public interface DenyRuleOrBuilder *
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -72,32 +80,40 @@ public interface DenyRuleOrBuilder
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -115,32 +131,40 @@ public interface DenyRuleOrBuilder
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -159,32 +183,40 @@ public interface DenyRuleOrBuilder
    * 
    * The identities that are prevented from using one or more permissions on
    * Google Cloud resources. This field can contain the following values:
+   *
    * * `principalSet://goog/public:all`: A special identifier that represents
    *   any principal that is on the internet, even if they do not have a Google
    *   Account or are not logged in.
+   *
    * * `principal://goog/subject/{email_id}`: A specific Google Account.
    *   Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
    *   example, `principal://goog/subject/alice@example.com`.
+   *
    * * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
    *   Google Account that was deleted recently. For example,
    *   `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
    *   the Google Account is recovered, this identifier reverts to the standard
    *   identifier for a Google Account.
+   *
    * * `principalSet://goog/group/{group_id}`: A Google group. For example,
    *   `principalSet://goog/group/admins@example.com`.
+   *
    * * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
    *   that was deleted recently. For example,
    *   `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If
    *   the Google group is restored, this identifier reverts to the standard
    *   identifier for a Google group.
+   *
    * * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
    *   A Google Cloud service account. For example,
    *   `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
+   *
    * * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
    *   A Google Cloud service account that was deleted recently. For example,
    *   `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
    *   If the service account is undeleted, this identifier reverts to the
    *   standard identifier for a service account.
+   *
    * * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
    *   principals associated with the specified Google Workspace or Cloud
    *   Identity customer ID. For example,
@@ -206,6 +238,7 @@ public interface DenyRuleOrBuilder
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -224,6 +257,7 @@ public interface DenyRuleOrBuilder
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -242,6 +276,7 @@ public interface DenyRuleOrBuilder
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -261,6 +296,7 @@ public interface DenyRuleOrBuilder
    * listed in the `denied_principals`. For example, you could add a Google
    * group to the `denied_principals`, then exclude specific users who belong to
    * that group.
+   *
    * This field can contain the same values as the `denied_principals` field,
    * excluding `principalSet://goog/public:all`, which represents all users on
    * the internet.
@@ -344,6 +380,7 @@ public interface DenyRuleOrBuilder
    * permissions given by `denied_permissions`. If a permission appears in
    * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be
    * denied.
+   *
    * The excluded permissions can be specified using the same syntax as
    * `denied_permissions`.
    * 
@@ -361,6 +398,7 @@ public interface DenyRuleOrBuilder * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -378,6 +416,7 @@ public interface DenyRuleOrBuilder * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -396,6 +435,7 @@ public interface DenyRuleOrBuilder * permissions given by `denied_permissions`. If a permission appears in * `denied_permissions` _and_ in `exception_permissions` then it will _not_ be * denied. + * * The excluded permissions can be specified using the same syntax as * `denied_permissions`. *
@@ -414,8 +454,10 @@ public interface DenyRuleOrBuilder * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -434,8 +476,10 @@ public interface DenyRuleOrBuilder * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other @@ -454,8 +498,10 @@ public interface DenyRuleOrBuilder * The condition that determines whether this deny rule applies to a request. * If the condition expression evaluates to `true`, then the deny rule is * applied; otherwise, the deny rule is not applied. + * * Each deny rule is evaluated independently. If this deny rule does not apply * to a request, other deny rules might still apply. + * * The condition can use CEL functions that evaluate * [resource * tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequest.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequest.java index fbe4827adc..dcf3497554 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequest.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequest.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPolicyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; @@ -77,9 +72,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name of the policy to retrieve. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -106,9 +104,12 @@ public java.lang.String getName() { *
    * Required. The resource name of the policy to retrieve. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -477,9 +478,12 @@ public Builder mergeFrom( *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -505,9 +509,12 @@ public java.lang.String getName() { *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -533,9 +540,12 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -560,9 +570,12 @@ public Builder setName(java.lang.String value) { *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
@@ -583,9 +596,12 @@ public Builder clearName() { *
      * Required. The resource name of the policy to retrieve. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * Use the URL-encoded full resource name, which means that the forward-slash
      * character, `/`, must be written as `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, you can use the alphanumeric or the numeric ID.
      * 
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequestOrBuilder.java index def786214b..589313315d 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequestOrBuilder.java @@ -29,9 +29,12 @@ public interface GetPolicyRequestOrBuilder *
    * Required. The resource name of the policy to retrieve. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
@@ -47,9 +50,12 @@ public interface GetPolicyRequestOrBuilder *
    * Required. The resource name of the policy to retrieve. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * Use the URL-encoded full resource name, which means that the forward-slash
    * character, `/`, must be written as `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, you can use the alphanumeric or the numeric ID.
    * 
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequest.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequest.java index 36db2f0ff0..d1e880b733 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequest.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPoliciesRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; @@ -79,10 +74,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -110,10 +108,13 @@ public java.lang.String getParent() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -602,10 +603,13 @@ public Builder mergeFrom( * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -632,10 +636,13 @@ public java.lang.String getParent() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -662,10 +669,13 @@ public com.google.protobuf.ByteString getParentBytes() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -691,10 +701,13 @@ public Builder setParent(java.lang.String value) { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -716,10 +729,13 @@ public Builder clearParent() { * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequestOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequestOrBuilder.java index 3090b50243..1370a31505 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequestOrBuilder.java @@ -30,10 +30,13 @@ public interface ListPoliciesRequestOrBuilder * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
@@ -50,10 +53,13 @@ public interface ListPoliciesRequestOrBuilder * Required. The resource that the policy is attached to, along with the kind of policy * to list. Format: * `policies/{attachment_point}/denypolicies` + * + * * The attachment point is identified by its URL-encoded full resource name, * which means that the forward-slash character, `/`, must be written as * `%2F`. For example, * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + * * For organizations and folders, use the numeric ID in the full resource * name. For projects, you can use the alphanumeric or the numeric ID. *
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponse.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponse.java index 423bc3f3ff..7510ee8933 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponse.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponse.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPoliciesResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/Policy.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/Policy.java index 55ce515fb5..2d50b0fedc 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/Policy.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/Policy.java @@ -52,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Policy(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto.internal_static_google_iam_v2beta_Policy_descriptor; } @@ -91,10 +86,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { *
    * Immutable. The resource name of the `Policy`, which must be unique. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, requests can use the alphanumeric or the numeric ID.
    * Responses always contain the numeric ID.
@@ -122,10 +120,13 @@ public java.lang.String getName() {
    * 
    * Immutable. The resource name of the `Policy`, which must be unique. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, requests can use the alphanumeric or the numeric ID.
    * Responses always contain the numeric ID.
@@ -423,6 +424,7 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
    * An opaque tag that identifies the current version of the `Policy`. IAM uses
    * this value to help manage concurrent updates, so they do not cause one
    * update to be overwritten by another.
+   *
    * If this field is present in a [CreatePolicy][] request, the value is
    * ignored.
    * 
@@ -450,6 +452,7 @@ public java.lang.String getEtag() { * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
@@ -1351,10 +1354,13 @@ public Builder mergeFrom( *
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1381,10 +1387,13 @@ public java.lang.String getName() {
      * 
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1411,10 +1420,13 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1440,10 +1452,13 @@ public Builder setName(java.lang.String value) {
      * 
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1465,10 +1480,13 @@ public Builder clearName() {
      * 
      * Immutable. The resource name of the `Policy`, which must be unique. Format:
      * `policies/{attachment_point}/denypolicies/{policy_id}`
+     *
+     *
      * The attachment point is identified by its URL-encoded full resource name,
      * which means that the forward-slash character, `/`, must be written as
      * `%2F`. For example,
      * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+     *
      * For organizations and folders, use the numeric ID in the full resource
      * name. For projects, requests can use the alphanumeric or the numeric ID.
      * Responses always contain the numeric ID.
@@ -1999,6 +2017,7 @@ public Builder putAllAnnotations(java.util.Map
@@ -2025,6 +2044,7 @@ public java.lang.String getEtag() {
      * An opaque tag that identifies the current version of the `Policy`. IAM uses
      * this value to help manage concurrent updates, so they do not cause one
      * update to be overwritten by another.
+     *
      * If this field is present in a [CreatePolicy][] request, the value is
      * ignored.
      * 
@@ -2051,6 +2071,7 @@ public com.google.protobuf.ByteString getEtagBytes() { * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
@@ -2076,6 +2097,7 @@ public Builder setEtag(java.lang.String value) { * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
@@ -2097,6 +2119,7 @@ public Builder clearEtag() { * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadata.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadata.java index 7c1c6a9bb9..aec75b94e9 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadata.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadata.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PolicyOperationMetadata(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOrBuilder.java index a1a4d2a7b2..2c6929cd7e 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOrBuilder.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOrBuilder.java @@ -29,10 +29,13 @@ public interface PolicyOrBuilder *
    * Immutable. The resource name of the `Policy`, which must be unique. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, requests can use the alphanumeric or the numeric ID.
    * Responses always contain the numeric ID.
@@ -49,10 +52,13 @@ public interface PolicyOrBuilder
    * 
    * Immutable. The resource name of the `Policy`, which must be unique. Format:
    * `policies/{attachment_point}/denypolicies/{policy_id}`
+   *
+   *
    * The attachment point is identified by its URL-encoded full resource name,
    * which means that the forward-slash character, `/`, must be written as
    * `%2F`. For example,
    * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`.
+   *
    * For organizations and folders, use the numeric ID in the full resource
    * name. For projects, requests can use the alphanumeric or the numeric ID.
    * Responses always contain the numeric ID.
@@ -213,6 +219,7 @@ java.lang.String getAnnotationsOrDefault(
    * An opaque tag that identifies the current version of the `Policy`. IAM uses
    * this value to help manage concurrent updates, so they do not cause one
    * update to be overwritten by another.
+   *
    * If this field is present in a [CreatePolicy][] request, the value is
    * ignored.
    * 
@@ -229,6 +236,7 @@ java.lang.String getAnnotationsOrDefault( * An opaque tag that identifies the current version of the `Policy`. IAM uses * this value to help manage concurrent updates, so they do not cause one * update to be overwritten by another. + * * If this field is present in a [CreatePolicy][] request, the value is * ignored. *
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyProto.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyProto.java index ac3be8e6d1..fab21840a2 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyProto.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyProto.java @@ -82,59 +82,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ield_behavior.proto\032\034google/iam/v2beta/d" + "eny.proto\032#google/longrunning/operations" + ".proto\032\037google/protobuf/timestamp.proto\"" - + "\251\003\n\006Policy\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\020\n\003uid\030\002 \001" - + "(\tB\003\340A\005\022\021\n\004kind\030\003 \001(\tB\003\340A\003\022\024\n\014display_na" - + "me\030\004 \001(\t\022?\n\013annotations\030\005 \003(\0132*.google.i" - + "am.v2beta.Policy.AnnotationsEntry\022\014\n\004eta" - + "g\030\006 \001(\t\0224\n\013create_time\030\007 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013d" - + "elete_time\030\t \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022,\n\005rules\030\n \003(\0132\035.google.iam.v2" - + "beta.PolicyRule\0322\n\020AnnotationsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"[\n\nPolicyRul" - + "e\0220\n\tdeny_rule\030\002 \001(\0132\033.google.iam.v2beta" - + ".DenyRuleH\000\022\023\n\013description\030\001 \001(\tB\006\n\004kind" - + "\"Q\n\023ListPoliciesRequest\022\023\n\006parent\030\001 \001(\tB" - + "\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\"\\\n\024ListPoliciesResponse\022+\n\010policies\030" - + "\001 \003(\0132\031.google.iam.v2beta.Policy\022\027\n\017next" - + "_page_token\030\002 \001(\t\"%\n\020GetPolicyRequest\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\002\"m\n\023CreatePolicyRequest\022" - + "\023\n\006parent\030\001 \001(\tB\003\340A\002\022.\n\006policy\030\002 \001(\0132\031.g" - + "oogle.iam.v2beta.PolicyB\003\340A\002\022\021\n\tpolicy_i" - + "d\030\003 \001(\t\"E\n\023UpdatePolicyRequest\022.\n\006policy" - + "\030\001 \001(\0132\031.google.iam.v2beta.PolicyB\003\340A\002\";" - + "\n\023DeletePolicyRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002" - + "\022\021\n\004etag\030\002 \001(\tB\003\340A\001\"J\n\027PolicyOperationMe" - + "tadata\022/\n\013create_time\030\001 \001(\0132\032.google.pro" - + "tobuf.Timestamp2\200\007\n\010Policies\022\217\001\n\014ListPol" - + "icies\022&.google.iam.v2beta.ListPoliciesRe" - + "quest\032\'.google.iam.v2beta.ListPoliciesRe" - + "sponse\".\202\323\344\223\002\037\022\035/v2beta/{parent=policies" - + "/*/*}\332A\006parent\022y\n\tGetPolicy\022#.google.iam" - + ".v2beta.GetPolicyRequest\032\031.google.iam.v2" - + "beta.Policy\",\202\323\344\223\002\037\022\035/v2beta/{name=polic" - + "ies/*/*/*}\332A\004name\022\302\001\n\014CreatePolicy\022&.goo" - + "gle.iam.v2beta.CreatePolicyRequest\032\035.goo" - + "gle.longrunning.Operation\"k\202\323\344\223\002\'\"\035/v2be" - + "ta/{parent=policies/*/*}:\006policy\332A\027paren" - + "t,policy,policy_id\312A!\n\006Policy\022\027PolicyOpe" - + "rationMetadata\022\257\001\n\014UpdatePolicy\022&.google" - + ".iam.v2beta.UpdatePolicyRequest\032\035.google" - + ".longrunning.Operation\"X\202\323\344\223\002.\032$/v2beta/" - + "{policy.name=policies/*/*/*}:\006policy\312A!\n" - + "\006Policy\022\027PolicyOperationMetadata\022\247\001\n\014Del" - + "etePolicy\022&.google.iam.v2beta.DeletePoli" - + "cyRequest\032\035.google.longrunning.Operation" - + "\"P\202\323\344\223\002\037*\035/v2beta/{name=policies/*/*/*}\332" - + "A\004name\312A!\n\006Policy\022\027PolicyOperationMetada" - + "ta\032F\312A\022iam.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB\211\001\n\025c" - + "om.google.iam.v2betaB\013PolicyProtoP\001Z-clo" - + "ud.google.com/go/iam/apiv2beta/iampb;iam" - + "pb\252\002\027Google.Cloud.Iam.V2Beta\312\002\027Google\\Cl" - + "oud\\Iam\\V2betab\006proto3" + + "\257\003\n\006Policy\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\022\021\n\003uid\030\002 " + + "\001(\tB\004\342A\001\005\022\022\n\004kind\030\003 \001(\tB\004\342A\001\003\022\024\n\014display" + + "_name\030\004 \001(\t\022?\n\013annotations\030\005 \003(\0132*.googl" + + "e.iam.v2beta.Policy.AnnotationsEntry\022\014\n\004" + + "etag\030\006 \001(\t\0225\n\013create_time\030\007 \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\003\0225\n\013update_time" + + "\030\010 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + + "\0225\n\013delete_time\030\t \001(\0132\032.google.protobuf." + + "TimestampB\004\342A\001\003\022,\n\005rules\030\n \003(\0132\035.google." + + "iam.v2beta.PolicyRule\0322\n\020AnnotationsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"[\n\nPol" + + "icyRule\0220\n\tdeny_rule\030\002 \001(\0132\033.google.iam." + + "v2beta.DenyRuleH\000\022\023\n\013description\030\001 \001(\tB\006" + + "\n\004kind\"R\n\023ListPoliciesRequest\022\024\n\006parent\030" + + "\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\"\\\n\024ListPoliciesResponse\022+\n\010po" + + "licies\030\001 \003(\0132\031.google.iam.v2beta.Policy\022" + + "\027\n\017next_page_token\030\002 \001(\t\"&\n\020GetPolicyReq" + + "uest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\"o\n\023CreatePolicy" + + "Request\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022/\n\006policy\030" + + "\002 \001(\0132\031.google.iam.v2beta.PolicyB\004\342A\001\002\022\021" + + "\n\tpolicy_id\030\003 \001(\t\"F\n\023UpdatePolicyRequest" + + "\022/\n\006policy\030\001 \001(\0132\031.google.iam.v2beta.Pol" + + "icyB\004\342A\001\002\"=\n\023DeletePolicyRequest\022\022\n\004name" + + "\030\001 \001(\tB\004\342A\001\002\022\022\n\004etag\030\002 \001(\tB\004\342A\001\001\"J\n\027Poli" + + "cyOperationMetadata\022/\n\013create_time\030\001 \001(\013" + + "2\032.google.protobuf.Timestamp2\200\007\n\010Policie" + + "s\022\217\001\n\014ListPolicies\022&.google.iam.v2beta.L" + + "istPoliciesRequest\032\'.google.iam.v2beta.L" + + "istPoliciesResponse\".\332A\006parent\202\323\344\223\002\037\022\035/v" + + "2beta/{parent=policies/*/*}\022y\n\tGetPolicy" + + "\022#.google.iam.v2beta.GetPolicyRequest\032\031." + + "google.iam.v2beta.Policy\",\332A\004name\202\323\344\223\002\037\022" + + "\035/v2beta/{name=policies/*/*/*}\022\302\001\n\014Creat" + + "ePolicy\022&.google.iam.v2beta.CreatePolicy" + + "Request\032\035.google.longrunning.Operation\"k" + + "\312A!\n\006Policy\022\027PolicyOperationMetadata\332A\027p" + + "arent,policy,policy_id\202\323\344\223\002\'\"\035/v2beta/{p" + + "arent=policies/*/*}:\006policy\022\257\001\n\014UpdatePo" + + "licy\022&.google.iam.v2beta.UpdatePolicyReq" + + "uest\032\035.google.longrunning.Operation\"X\312A!" + + "\n\006Policy\022\027PolicyOperationMetadata\202\323\344\223\002.\032" + + "$/v2beta/{policy.name=policies/*/*/*}:\006p" + + "olicy\022\247\001\n\014DeletePolicy\022&.google.iam.v2be" + + "ta.DeletePolicyRequest\032\035.google.longrunn" + + "ing.Operation\"P\312A!\n\006Policy\022\027PolicyOperat" + + "ionMetadata\332A\004name\202\323\344\223\002\037*\035/v2beta/{name=" + + "policies/*/*/*}\032F\312A\022iam.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\211\001\n\025com.google.iam.v2betaB\013Polic" + + "yProtoP\001Z-cloud.google.com/go/iam/apiv2b" + + "eta/iampb;iampb\252\002\027Google.Cloud.Iam.V2Bet" + + "a\312\002\027Google\\Cloud\\Iam\\V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRule.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRule.java index 8da3bc2c5e..1f68e133bc 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRule.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRule.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PolicyRule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_PolicyRule_descriptor; @@ -67,6 +62,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int kindCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object kind_; public enum KindCase diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRuleOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRuleOrBuilder.java index 1c71f86bff..f6463abdbb 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRuleOrBuilder.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRuleOrBuilder.java @@ -85,5 +85,5 @@ public interface PolicyRuleOrBuilder */ com.google.protobuf.ByteString getDescriptionBytes(); - public com.google.iam.v2beta.PolicyRule.KindCase getKindCase(); + com.google.iam.v2beta.PolicyRule.KindCase getKindCase(); } diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequest.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequest.java index 97a01efac9..f7b368d981 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequest.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequest.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePolicyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; @@ -72,6 +67,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -90,6 +86,7 @@ public boolean hasPolicy() {
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -108,6 +105,7 @@ public com.google.iam.v2beta.Policy getPolicy() {
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -479,6 +477,7 @@ public Builder mergeFrom(
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -496,6 +495,7 @@ public boolean hasPolicy() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -517,6 +517,7 @@ public com.google.iam.v2beta.Policy getPolicy() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -542,6 +543,7 @@ public Builder setPolicy(com.google.iam.v2beta.Policy value) {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -564,6 +566,7 @@ public Builder setPolicy(com.google.iam.v2beta.Policy.Builder builderForValue) {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -592,6 +595,7 @@ public Builder mergePolicy(com.google.iam.v2beta.Policy value) {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -614,6 +618,7 @@ public Builder clearPolicy() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -631,6 +636,7 @@ public com.google.iam.v2beta.Policy.Builder getPolicyBuilder() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
@@ -650,6 +656,7 @@ public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() {
      *
      * 
      * Required. The policy to update.
+     *
      * To prevent conflicting updates, the `etag` value must match the value that
      * is stored in IAM. If the `etag` values do not match, the request fails with
      * a `409` error code and `ABORTED` status.
diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequestOrBuilder.java
index ffbd2892e1..231607713a 100644
--- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequestOrBuilder.java
+++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequestOrBuilder.java
@@ -28,6 +28,7 @@ public interface UpdatePolicyRequestOrBuilder
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -43,6 +44,7 @@ public interface UpdatePolicyRequestOrBuilder
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
@@ -58,6 +60,7 @@ public interface UpdatePolicyRequestOrBuilder
    *
    * 
    * Required. The policy to update.
+   *
    * To prevent conflicting updates, the `etag` value must match the value that
    * is stored in IAM. If the `etag` values do not match, the request fails with
    * a `409` error code and `ABORTED` status.
diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml
index c5b5357743..03b8f83f78 100644
--- a/java-shared-dependencies/dependency-convergence-check/pom.xml
+++ b/java-shared-dependencies/dependency-convergence-check/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   shared-dependencies-dependency-convergence-test
-  3.10.1
+  3.11.0
   Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies
   
     An dependency convergence test case for the shared dependencies BOM. A failure of this test case means
diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml
index ef610570bc..61a8a76660 100644
--- a/java-shared-dependencies/first-party-dependencies/pom.xml
+++ b/java-shared-dependencies/first-party-dependencies/pom.xml
@@ -6,7 +6,7 @@
   com.google.cloud
   first-party-dependencies
   pom
-  3.10.1
+  3.11.0
   Google Cloud First-party Shared Dependencies
   
     Shared first-party dependencies for Google Cloud Java libraries.
@@ -35,7 +35,7 @@
         
         com.google.api
         gapic-generator-java-bom
-        2.20.1
+        2.21.0
         pom
         import
       
@@ -52,7 +52,7 @@
       
         com.google.cloud
         google-cloud-core-bom
-        2.18.1
+        2.19.0
         pom
         import
       
@@ -83,13 +83,13 @@
       
         com.google.cloud
         google-cloud-core
-        2.18.1
+        2.19.0
         test-jar
       
       
         com.google.cloud
         google-cloud-core
-        2.18.1
+        2.19.0
         tests
       
     
diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml
index 4782783822..e82a42e665 100644
--- a/java-shared-dependencies/pom.xml
+++ b/java-shared-dependencies/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-shared-dependencies
   pom
-  3.10.1
+  3.11.0
   
     first-party-dependencies
     third-party-dependencies
@@ -17,7 +17,7 @@
   
     com.google.api
     gapic-generator-java-pom-parent
-    2.20.1
+    2.21.0
     ../gapic-generator-java-pom-parent
   
 
@@ -31,14 +31,14 @@
       
         com.google.cloud
         first-party-dependencies
-        3.10.1
+        3.11.0
         pom
         import
       
       
         com.google.cloud
         third-party-dependencies
-        3.10.1
+        3.11.0
         pom
         import
       
diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml
index 4d397d5a3c..2ca6e7ebde 100644
--- a/java-shared-dependencies/third-party-dependencies/pom.xml
+++ b/java-shared-dependencies/third-party-dependencies/pom.xml
@@ -6,7 +6,7 @@
   com.google.cloud
   third-party-dependencies
   pom
-  3.10.1
+  3.11.0
   Google Cloud Third-party Shared Dependencies
   
     Shared third-party dependencies for Google Cloud Java libraries.
diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml
index 92255b5684..b5b8307ebd 100644
--- a/java-shared-dependencies/upper-bound-check/pom.xml
+++ b/java-shared-dependencies/upper-bound-check/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   shared-dependencies-upper-bound-test
   pom
-  3.10.1
+  3.11.0
   Upper bound test for Google Cloud Shared Dependencies
   
     An upper bound test case for the shared dependencies BOM. A failure of this test case means
@@ -30,7 +30,7 @@
       
         com.google.cloud
         google-cloud-shared-dependencies
-        3.10.1
+        3.11.0
         pom
         import
       
diff --git a/pom.xml b/pom.xml
index 93652bdbe6..75ae2a331a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,16 @@
       
     
   
+  
+    
+      sonatype-nexus-snapshots
+      https://google.oss.sonatype.org/content/repositories/snapshots
+    
+    
+      sonatype-nexus-staging
+      https://google.oss.sonatype.org/service/local/staging/deploy/maven2/
+    
+  
   
     
       
@@ -52,16 +62,6 @@
           !gpg.executable
         
       
-      
-        
-          sonatype-nexus-snapshots
-          https://google.oss.sonatype.org/content/repositories/snapshots
-        
-        
-          sonatype-nexus-staging
-          https://google.oss.sonatype.org/service/local/staging/deploy/maven2/
-        
-      
       
         
           
diff --git a/renovate.json b/renovate.json
index b2e66d39f6..961a4b83a9 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,4 +1,5 @@
 {
+  "enabled": false,
   "extends": [
     "config:base"
   ],
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/BlurbName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/BlurbName.java
index 32f3ed2380..037397e4c8 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/BlurbName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/BlurbName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/ProfileName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/ProfileName.java
index b69500d0ae..6b36159006 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/ProfileName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/ProfileName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/RoomName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/RoomName.java
index b7ebbbad5d..ef6ac1d0fd 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/RoomName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/RoomName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceName.java
index 067bb15adb..67bc2719aa 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceReportName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceReportName.java
index 80742478a3..545441ac85 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceReportName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceReportName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SessionName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SessionName.java
index a205c1272d..3a19397c03 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SessionName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SessionName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/StreamingSequenceName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/StreamingSequenceName.java
index 8adcda635f..cd67420318 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/StreamingSequenceName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/StreamingSequenceName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReportName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReportName.java
index 106c07e1f9..2f636a4005 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReportName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReportName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/TestName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/TestName.java
index fb2855113a..bea1ef0177 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/TestName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/TestName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/UserName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/UserName.java
index df5a3618b7..aa6a75a6be 100644
--- a/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/UserName.java
+++ b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/UserName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider.java
index 46846134bb..e0a511d60d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider1.java
index f28602378a..0bde9fc26b 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider1.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider1.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetEndpoint.java
index 40b937f7f3..5d942b32b5 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetEndpoint.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetEndpoint.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/AsyncGetEnum.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/AsyncGetEnum.java
index 464c666e72..a4c6c64e5e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/AsyncGetEnum.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/AsyncGetEnum.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/SyncGetEnum.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/SyncGetEnum.java
index 25e134f2a3..50ce8621ca 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/SyncGetEnum.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/SyncGetEnum.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getlocation/AsyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getlocation/AsyncGetLocation.java
index 8bd4dea3c7..9ddad213ff 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getlocation/AsyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getlocation/AsyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getlocation/SyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getlocation/SyncGetLocation.java
index 63a6fd26cf..dbad120d10 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getlocation/SyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getlocation/SyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/AsyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/AsyncListLocations.java
index 2a0cdd4ed6..72534ae14e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/AsyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/AsyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/AsyncListLocationsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/AsyncListLocationsPaged.java
index 655afb422c..8249da47ac 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/AsyncListLocationsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/AsyncListLocationsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/SyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/SyncListLocations.java
index cd25f3310f..1b012d2e8c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/SyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/listlocations/SyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/AsyncRepeatDataBody.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/AsyncRepeatDataBody.java
index 02379d2e01..3304295bed 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/AsyncRepeatDataBody.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/AsyncRepeatDataBody.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/SyncRepeatDataBody.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/SyncRepeatDataBody.java
index 9769ea47da..ae0154e0bd 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/SyncRepeatDataBody.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/SyncRepeatDataBody.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/AsyncRepeatDataBodyInfo.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/AsyncRepeatDataBodyInfo.java
index 80138be72f..67b3bf2097 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/AsyncRepeatDataBodyInfo.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/AsyncRepeatDataBodyInfo.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/SyncRepeatDataBodyInfo.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/SyncRepeatDataBodyInfo.java
index c3b00bd27e..385405b8ad 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/SyncRepeatDataBodyInfo.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/SyncRepeatDataBodyInfo.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/AsyncRepeatDataBodyPatch.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/AsyncRepeatDataBodyPatch.java
index d62dcd97b9..620c94da99 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/AsyncRepeatDataBodyPatch.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/AsyncRepeatDataBodyPatch.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/SyncRepeatDataBodyPatch.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/SyncRepeatDataBodyPatch.java
index 1e53216e8d..907386c93f 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/SyncRepeatDataBodyPatch.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/SyncRepeatDataBodyPatch.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/AsyncRepeatDataBodyPut.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/AsyncRepeatDataBodyPut.java
index 61fb607032..5debee1341 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/AsyncRepeatDataBodyPut.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/AsyncRepeatDataBodyPut.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/SyncRepeatDataBodyPut.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/SyncRepeatDataBodyPut.java
index 4f4d65a084..cd1fa61409 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/SyncRepeatDataBodyPut.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/SyncRepeatDataBodyPut.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/AsyncRepeatDataPathResource.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/AsyncRepeatDataPathResource.java
index 020978c742..bc4a003385 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/AsyncRepeatDataPathResource.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/AsyncRepeatDataPathResource.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/SyncRepeatDataPathResource.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/SyncRepeatDataPathResource.java
index 3a0e60981f..16aae4ebf0 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/SyncRepeatDataPathResource.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/SyncRepeatDataPathResource.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/AsyncRepeatDataPathTrailingResource.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/AsyncRepeatDataPathTrailingResource.java
index 1c3b305371..74283e7cef 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/AsyncRepeatDataPathTrailingResource.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/AsyncRepeatDataPathTrailingResource.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/SyncRepeatDataPathTrailingResource.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/SyncRepeatDataPathTrailingResource.java
index 73883a1773..9de30e6dde 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/SyncRepeatDataPathTrailingResource.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/SyncRepeatDataPathTrailingResource.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/AsyncRepeatDataQuery.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/AsyncRepeatDataQuery.java
index c174e28a01..fe5387ab8b 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/AsyncRepeatDataQuery.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/AsyncRepeatDataQuery.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/SyncRepeatDataQuery.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/SyncRepeatDataQuery.java
index 2f4dd67b42..5f841da392 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/SyncRepeatDataQuery.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/SyncRepeatDataQuery.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/AsyncRepeatDataSimplePath.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/AsyncRepeatDataSimplePath.java
index ff20f79853..71b0acd79a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/AsyncRepeatDataSimplePath.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/AsyncRepeatDataSimplePath.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/SyncRepeatDataSimplePath.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/SyncRepeatDataSimplePath.java
index 4cec930750..853942cdeb 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/SyncRepeatDataSimplePath.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/SyncRepeatDataSimplePath.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/AsyncVerifyEnum.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/AsyncVerifyEnum.java
index ceae5e5edc..f1def5acf6 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/AsyncVerifyEnum.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/AsyncVerifyEnum.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/SyncVerifyEnum.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/SyncVerifyEnum.java
index cf742f475d..aacfc24f38 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/SyncVerifyEnum.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/SyncVerifyEnum.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliancesettings/repeatdatabody/SyncRepeatDataBody.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliancesettings/repeatdatabody/SyncRepeatDataBody.java
index 50c6680f41..de4f27283d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliancesettings/repeatdatabody/SyncRepeatDataBody.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliancesettings/repeatdatabody/SyncRepeatDataBody.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/AsyncBlock.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/AsyncBlock.java
index 5d1e13ec6b..73bfc84755 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/AsyncBlock.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/AsyncBlock.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/SyncBlock.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/SyncBlock.java
index 33e753f91c..a8fdbcd441 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/SyncBlock.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/SyncBlock.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/chat/AsyncChat.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/chat/AsyncChat.java
index fc7ae4a2fd..181971eccf 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/chat/AsyncChat.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/chat/AsyncChat.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/collect/AsyncCollect.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/collect/AsyncCollect.java
index faace6e726..bce133d60e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/collect/AsyncCollect.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/collect/AsyncCollect.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider.java
index a9ebbf7ae9..20db6341ec 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider1.java
index cb6c708da6..00393be72f 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider1.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider1.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetEndpoint.java
index ad36585408..00bbe307f6 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetEndpoint.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetEndpoint.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/AsyncEcho.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/AsyncEcho.java
index 705e8c273b..7e799bc6a3 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/AsyncEcho.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/AsyncEcho.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/SyncEcho.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/SyncEcho.java
index 37388425b1..9bf082a610 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/SyncEcho.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/SyncEcho.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/expand/AsyncExpand.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/expand/AsyncExpand.java
index 3b1c549c3e..4aafdd8776 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/expand/AsyncExpand.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/expand/AsyncExpand.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/getlocation/AsyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/getlocation/AsyncGetLocation.java
index 084933a174..7c4e38efaf 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/getlocation/AsyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/getlocation/AsyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/getlocation/SyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/getlocation/SyncGetLocation.java
index 770a9121a1..3e24b7b837 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/getlocation/SyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/getlocation/SyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/AsyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/AsyncListLocations.java
index 50f105d028..c8b47cf05f 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/AsyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/AsyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/AsyncListLocationsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/AsyncListLocationsPaged.java
index 8cb7f6ec24..39f0b49dc5 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/AsyncListLocationsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/AsyncListLocationsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/SyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/SyncListLocations.java
index c7691c428d..463ac3f4e4 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/SyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/listlocations/SyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpand.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpand.java
index 46257d1453..449b425685 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpand.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpand.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpandPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpandPaged.java
index 28a19a69af..0b7ba9d247 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpandPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpandPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/SyncPagedExpand.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/SyncPagedExpand.java
index c9c1a85279..b0e13e02b4 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/SyncPagedExpand.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/SyncPagedExpand.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/AsyncPagedExpandLegacy.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/AsyncPagedExpandLegacy.java
index 624e4caec1..eca4717b5a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/AsyncPagedExpandLegacy.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/AsyncPagedExpandLegacy.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/SyncPagedExpandLegacy.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/SyncPagedExpandLegacy.java
index c82b7bbae7..e4914424d7 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/SyncPagedExpandLegacy.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/SyncPagedExpandLegacy.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMapped.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMapped.java
index be038a2fb5..c2910cc614 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMapped.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMapped.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMappedPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMappedPaged.java
index 538a3247e8..958032eb35 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMappedPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMappedPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/SyncPagedExpandLegacyMapped.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/SyncPagedExpandLegacyMapped.java
index 2b644c8837..6a8a8894a7 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/SyncPagedExpandLegacyMapped.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/SyncPagedExpandLegacyMapped.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWait.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWait.java
index 4fe1f78ed2..a9ad2881d5 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWait.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWait.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWaitLRO.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWaitLRO.java
index 450ec96d94..e8c000fd89 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWaitLRO.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWaitLRO.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/SyncWait.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/SyncWait.java
index b79a0c4abe..7f8ae2ca2c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/SyncWait.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/SyncWait.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echosettings/echo/SyncEcho.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echosettings/echo/SyncEcho.java
index 8297f9021e..41d697a531 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echosettings/echo/SyncEcho.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echosettings/echo/SyncEcho.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider.java
index 2ebcf3d498..b0d7fa108e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider1.java
index 4ef4b5c388..c3a95b9509 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider1.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider1.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetEndpoint.java
index 56a9453ba2..c477b515d6 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetEndpoint.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetEndpoint.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/AsyncCreateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/AsyncCreateUser.java
index 6159e29f8b..859b9f7752 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/AsyncCreateUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/AsyncCreateUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUser.java
index efced6437d..d2d1aeca94 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringString.java
index 54552b0fae..49b75addfe 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringStringIntStringBooleanDouble.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringStringIntStringBooleanDouble.java
index 61705d69f3..3c84dd1cba 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringStringIntStringBooleanDouble.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringStringIntStringBooleanDouble.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/AsyncDeleteUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/AsyncDeleteUser.java
index 8d8de43b47..705614cc8d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/AsyncDeleteUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/AsyncDeleteUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUser.java
index 9bdce522e9..5118f55fff 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserString.java
index bb894748d3..3e30b22c1e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserUsername.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserUsername.java
index b61c33d83c..c5d694320c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserUsername.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserUsername.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getlocation/AsyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getlocation/AsyncGetLocation.java
index 36738f0432..026ce4b071 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getlocation/AsyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getlocation/AsyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getlocation/SyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getlocation/SyncGetLocation.java
index cb8079bbe7..249ff9d213 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getlocation/SyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getlocation/SyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/AsyncGetUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/AsyncGetUser.java
index 640d726784..87bb440933 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/AsyncGetUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/AsyncGetUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUser.java
index 9e6adc257c..3bcf8214f9 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserString.java
index 3443054f45..2ba5cc43e7 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserUsername.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserUsername.java
index 53313b1f09..4ad0ef1630 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserUsername.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserUsername.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/AsyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/AsyncListLocations.java
index 518f65d030..7a1d638e57 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/AsyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/AsyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/AsyncListLocationsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/AsyncListLocationsPaged.java
index 1f09ccfa88..1cb244c6c4 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/AsyncListLocationsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/AsyncListLocationsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/SyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/SyncListLocations.java
index 14317ddee0..3bd2bf3123 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/SyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listlocations/SyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsers.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsers.java
index b72d2c1f7f..70a646734b 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsers.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsers.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsersPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsersPaged.java
index 50351698b4..0c198a93bc 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsersPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsersPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/SyncListUsers.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/SyncListUsers.java
index ea0578c12a..a8cf04f2ec 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/SyncListUsers.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/SyncListUsers.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/AsyncUpdateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/AsyncUpdateUser.java
index 5d2fc84649..96edca1b03 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/AsyncUpdateUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/AsyncUpdateUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/SyncUpdateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/SyncUpdateUser.java
index 23b62e3bbc..091dbaf14a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/SyncUpdateUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/SyncUpdateUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identitysettings/createuser/SyncCreateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identitysettings/createuser/SyncCreateUser.java
index ecc969af0e..e34ebf6a8b 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identitysettings/createuser/SyncCreateUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identitysettings/createuser/SyncCreateUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/connect/AsyncConnect.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/connect/AsyncConnect.java
index 34f70c0c41..2071cd762f 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/connect/AsyncConnect.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/connect/AsyncConnect.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider.java
index c6c26a4fae..5a281fd5a9 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider1.java
index ac54a1ca4e..5bd380e27a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider1.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider1.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetEndpoint.java
index 0380588c4a..b75d420613 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetEndpoint.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetEndpoint.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/AsyncCreateBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/AsyncCreateBlurb.java
index ab21cabfa7..877bf6e903 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/AsyncCreateBlurb.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/AsyncCreateBlurb.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurb.java
index 10f979355d..43e3f7e48f 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurb.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurb.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringBytestring.java
index 8fe16595eb..7370c8f3cd 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringBytestring.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringBytestring.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringString.java
index 5d4c8e8986..711ccc72c5 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameBytestring.java
index 9c3d7b8c98..d3bcfae8d6 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameBytestring.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameBytestring.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameString.java
index f431a92155..4952469734 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringBytestring.java
index 477ed0b163..5428a4d3db 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringBytestring.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringBytestring.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringString.java
index 07dc451756..df685cd13a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameBytestring.java
index a4cff9e110..d94c3cc0b9 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameBytestring.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameBytestring.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameString.java
index 5e71b33344..7037c6487e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringBytestring.java
index bfed9b8941..8a7839c018 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringBytestring.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringBytestring.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringString.java
index f2611ad321..d2736114fa 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameBytestring.java
index 20ac75deb0..69a186f8af 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameBytestring.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameBytestring.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameString.java
index a9a3cd4af8..7f8b88b037 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/AsyncCreateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/AsyncCreateRoom.java
index 70a76f23b0..df2af2b34a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/AsyncCreateRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/AsyncCreateRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoom.java
index 5aa1b3e94e..bf0cab896e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoomStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoomStringString.java
index 7fcd4b7c45..2d8b8bb8e2 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoomStringString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoomStringString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/AsyncDeleteBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/AsyncDeleteBlurb.java
index 664a34bc76..36cfe20e96 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/AsyncDeleteBlurb.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/AsyncDeleteBlurb.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurb.java
index cd93918820..abca7083fc 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurb.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurb.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbBlurbname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbBlurbname.java
index 815c598962..b2618c1bcd 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbBlurbname.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbBlurbname.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbString.java
index 30d35e96cb..b420f5e513 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/AsyncDeleteRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/AsyncDeleteRoom.java
index f521ea0ab6..391dabd0f0 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/AsyncDeleteRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/AsyncDeleteRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoom.java
index bcb643cbea..a676edfb02 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomRoomname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomRoomname.java
index bed6bd6339..6eabdc2e25 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomRoomname.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomRoomname.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomString.java
index c8ef55c8f0..f9f035ff58 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/AsyncGetBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/AsyncGetBlurb.java
index 3bcdc0dfa2..b4df2dcca2 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/AsyncGetBlurb.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/AsyncGetBlurb.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurb.java
index 0ca916ecfb..65b2c3459c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurb.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurb.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbBlurbname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbBlurbname.java
index 8288ba1002..2e26146704 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbBlurbname.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbBlurbname.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbString.java
index 3a7f190d7b..524696e93e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getlocation/AsyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getlocation/AsyncGetLocation.java
index 60858da090..5025e00826 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getlocation/AsyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getlocation/AsyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getlocation/SyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getlocation/SyncGetLocation.java
index 3503767047..e279d55f64 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getlocation/SyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getlocation/SyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/AsyncGetRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/AsyncGetRoom.java
index 7449457aec..89216c2239 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/AsyncGetRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/AsyncGetRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoom.java
index 50195f0808..274396223d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomRoomname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomRoomname.java
index 330ff415e6..1b00a72e3d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomRoomname.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomRoomname.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomString.java
index a0d1d29738..adb4cdaa3a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbs.java
index e1ed6b891e..eb9bf91d5e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbs.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbs.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbsPaged.java
index 4fe5854968..7a708d45a8 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbs.java
index ad1fe7ca00..af5c7aa297 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbs.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbs.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsProfilename.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsProfilename.java
index cd576614b4..3b002707f9 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsProfilename.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsProfilename.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsRoomname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsRoomname.java
index e4e34b5327..3718c13b4d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsRoomname.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsRoomname.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsString.java
index 77b1f2b68d..a793c600a7 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/AsyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/AsyncListLocations.java
index b993350812..d6bd11466d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/AsyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/AsyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/AsyncListLocationsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/AsyncListLocationsPaged.java
index 1f8a5dc137..a6ee312dcd 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/AsyncListLocationsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/AsyncListLocationsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/SyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/SyncListLocations.java
index 6a8ce9da8c..98e590c396 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/SyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listlocations/SyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRooms.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRooms.java
index 245db794fc..05800c454c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRooms.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRooms.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRoomsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRoomsPaged.java
index faf33d3da5..f144714bfb 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRoomsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRoomsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/SyncListRooms.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/SyncListRooms.java
index f8196f7e96..8e7809cf1c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/SyncListRooms.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/SyncListRooms.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbs.java
index f74d6da297..d48f0e720e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbs.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbs.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbsLRO.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbsLRO.java
index 70be85e24a..1970c9cad8 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbsLRO.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbsLRO.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbs.java
index 9185a19d58..9965f84187 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbs.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbs.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsProfilenameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsProfilenameString.java
index 3601c897d4..50f9bff74d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsProfilenameString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsProfilenameString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsRoomnameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsRoomnameString.java
index 164a2a0d52..2d3b61ddef 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsRoomnameString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsRoomnameString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsStringString.java
index dffc4662fd..4cd8877de4 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsStringString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsStringString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/sendblurbs/AsyncSendBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/sendblurbs/AsyncSendBlurbs.java
index 88c6d67af7..527a49f459 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/sendblurbs/AsyncSendBlurbs.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/sendblurbs/AsyncSendBlurbs.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/streamblurbs/AsyncStreamBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/streamblurbs/AsyncStreamBlurbs.java
index 22d85305d4..92a260bfc1 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/streamblurbs/AsyncStreamBlurbs.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/streamblurbs/AsyncStreamBlurbs.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/AsyncUpdateBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/AsyncUpdateBlurb.java
index 5f26fbdccc..d6cdbf6f95 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/AsyncUpdateBlurb.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/AsyncUpdateBlurb.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/SyncUpdateBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/SyncUpdateBlurb.java
index 415b326718..0faa4728df 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/SyncUpdateBlurb.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/SyncUpdateBlurb.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/AsyncUpdateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/AsyncUpdateRoom.java
index 6e7b19ad5c..8dc1e0677b 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/AsyncUpdateRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/AsyncUpdateRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/SyncUpdateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/SyncUpdateRoom.java
index 915b84c12e..74e9d62b74 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/SyncUpdateRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/SyncUpdateRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messagingsettings/createroom/SyncCreateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messagingsettings/createroom/SyncCreateRoom.java
index 2ab7cbe27e..0fa1ec470d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messagingsettings/createroom/SyncCreateRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messagingsettings/createroom/SyncCreateRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/AsyncAttemptSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/AsyncAttemptSequence.java
index b8cbd41577..7e423ac40e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/AsyncAttemptSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/AsyncAttemptSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequence.java
index 3d6637e455..11790633b8 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceSequencename.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceSequencename.java
index 0e9a0ff985..e8f3148806 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceSequencename.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceSequencename.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceString.java
index cfc94a15c6..f5ef70be3e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptstreamingsequence/AsyncAttemptStreamingSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptstreamingsequence/AsyncAttemptStreamingSequence.java
index 23b2a7e142..9da7ad7bf4 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptstreamingsequence/AsyncAttemptStreamingSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptstreamingsequence/AsyncAttemptStreamingSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider.java
index b1c0a96894..0470b99fd2 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider1.java
index 5f6f2f63f8..1b178a90ce 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider1.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider1.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetEndpoint.java
index 80d2a57c02..7a8a118e3d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetEndpoint.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetEndpoint.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/AsyncCreateSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/AsyncCreateSequence.java
index 75bd7fdd4a..cfcf804304 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/AsyncCreateSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/AsyncCreateSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequence.java
index b798739218..0e703cb871 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequenceSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequenceSequence.java
index 857cf07c55..fb63646fd0 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequenceSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequenceSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/AsyncCreateStreamingSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/AsyncCreateStreamingSequence.java
index 4fd0acff60..63d07adccf 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/AsyncCreateStreamingSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/AsyncCreateStreamingSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/SyncCreateStreamingSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/SyncCreateStreamingSequence.java
index 48fa25cbbd..c11c94d307 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/SyncCreateStreamingSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/SyncCreateStreamingSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/SyncCreateStreamingSequenceStreamingsequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/SyncCreateStreamingSequenceStreamingsequence.java
index ac87b6eb41..67d4fd7591 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/SyncCreateStreamingSequenceStreamingsequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createstreamingsequence/SyncCreateStreamingSequenceStreamingsequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getlocation/AsyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getlocation/AsyncGetLocation.java
index 78ec591901..7004221de6 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getlocation/AsyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getlocation/AsyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getlocation/SyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getlocation/SyncGetLocation.java
index 0163b26f35..7a860d3baf 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getlocation/SyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getlocation/SyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/AsyncGetSequenceReport.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/AsyncGetSequenceReport.java
index 98e96691d7..8a14615185 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/AsyncGetSequenceReport.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/AsyncGetSequenceReport.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReport.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReport.java
index 703ffb36fc..3e3e410171 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReport.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReport.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportSequencereportname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportSequencereportname.java
index d40653efc3..d58281a004 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportSequencereportname.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportSequencereportname.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportString.java
index f0ac090a1f..19d7a1d2cd 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/AsyncGetStreamingSequenceReport.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/AsyncGetStreamingSequenceReport.java
index 710e38524d..82f1e352c9 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/AsyncGetStreamingSequenceReport.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/AsyncGetStreamingSequenceReport.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReport.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReport.java
index 1a3a3b9377..c5d6e0b129 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReport.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReport.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReportStreamingsequencereportname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReportStreamingsequencereportname.java
index 5a5952e9e6..b9d12059c1 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReportStreamingsequencereportname.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReportStreamingsequencereportname.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReportString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReportString.java
index a869686aaa..371a13d576 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReportString.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getstreamingsequencereport/SyncGetStreamingSequenceReportString.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/AsyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/AsyncListLocations.java
index 018264577b..55e009f358 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/AsyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/AsyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/AsyncListLocationsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/AsyncListLocationsPaged.java
index a71c3e3264..3fecc1df95 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/AsyncListLocationsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/AsyncListLocationsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/SyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/SyncListLocations.java
index 4c5f2f638d..b8efabbf06 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/SyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/listlocations/SyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservicesettings/createsequence/SyncCreateSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservicesettings/createsequence/SyncCreateSequence.java
index d225414159..b8477110e1 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservicesettings/createsequence/SyncCreateSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservicesettings/createsequence/SyncCreateSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/compliancestubsettings/repeatdatabody/SyncRepeatDataBody.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/compliancestubsettings/repeatdatabody/SyncRepeatDataBody.java
index c0b9e53a5b..75d482a906 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/compliancestubsettings/repeatdatabody/SyncRepeatDataBody.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/compliancestubsettings/repeatdatabody/SyncRepeatDataBody.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/echostubsettings/echo/SyncEcho.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/echostubsettings/echo/SyncEcho.java
index a7a18faf48..07a83fc1a5 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/echostubsettings/echo/SyncEcho.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/echostubsettings/echo/SyncEcho.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/identitystubsettings/createuser/SyncCreateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/identitystubsettings/createuser/SyncCreateUser.java
index 0413eb47cd..b89ecce73c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/identitystubsettings/createuser/SyncCreateUser.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/identitystubsettings/createuser/SyncCreateUser.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/messagingstubsettings/createroom/SyncCreateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/messagingstubsettings/createroom/SyncCreateRoom.java
index deffa23fc2..a927d0c84c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/messagingstubsettings/createroom/SyncCreateRoom.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/messagingstubsettings/createroom/SyncCreateRoom.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/sequenceservicestubsettings/createsequence/SyncCreateSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/sequenceservicestubsettings/createsequence/SyncCreateSequence.java
index c34917c717..56d3f8cfbb 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/sequenceservicestubsettings/createsequence/SyncCreateSequence.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/sequenceservicestubsettings/createsequence/SyncCreateSequence.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/testingstubsettings/createsession/SyncCreateSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/testingstubsettings/createsession/SyncCreateSession.java
index 0bac2ef097..7634331732 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/testingstubsettings/createsession/SyncCreateSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/testingstubsettings/createsession/SyncCreateSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider.java
index 54e8f745b6..a2491fa817 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider1.java
index 98fb47f1f2..b97ae4c71a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider1.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider1.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetEndpoint.java
index 31d2c2a00c..00ba22a52e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetEndpoint.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetEndpoint.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/AsyncCreateSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/AsyncCreateSession.java
index 6706d5fbbf..db99b30308 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/AsyncCreateSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/AsyncCreateSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/SyncCreateSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/SyncCreateSession.java
index 1e155623d0..7ef5eedff1 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/SyncCreateSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/SyncCreateSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/AsyncDeleteSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/AsyncDeleteSession.java
index 38d1dff284..599807c54d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/AsyncDeleteSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/AsyncDeleteSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/SyncDeleteSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/SyncDeleteSession.java
index d8e1cfcefb..42511365ea 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/SyncDeleteSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/SyncDeleteSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/AsyncDeleteTest.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/AsyncDeleteTest.java
index bbe7e7edc2..80b53283ba 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/AsyncDeleteTest.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/AsyncDeleteTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/SyncDeleteTest.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/SyncDeleteTest.java
index aa2ad11d74..a1a21df16a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/SyncDeleteTest.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/SyncDeleteTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getlocation/AsyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getlocation/AsyncGetLocation.java
index 29002080f3..a10a2b1de7 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getlocation/AsyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getlocation/AsyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getlocation/SyncGetLocation.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getlocation/SyncGetLocation.java
index 2de415106e..51fb9527ed 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getlocation/SyncGetLocation.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getlocation/SyncGetLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/AsyncGetSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/AsyncGetSession.java
index f00a7a974b..280a83f54c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/AsyncGetSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/AsyncGetSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/SyncGetSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/SyncGetSession.java
index 3ed0205286..8402741332 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/SyncGetSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/SyncGetSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/AsyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/AsyncListLocations.java
index 74fe9e2cef..4007d78d82 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/AsyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/AsyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/AsyncListLocationsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/AsyncListLocationsPaged.java
index eb6ba6b73d..ae6dbd4a3f 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/AsyncListLocationsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/AsyncListLocationsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/SyncListLocations.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/SyncListLocations.java
index 10a791f788..288df0668a 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/SyncListLocations.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listlocations/SyncListLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessions.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessions.java
index 416101c8d7..0fe2c90438 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessions.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessions.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessionsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessionsPaged.java
index afc3931922..3d96b53e35 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessionsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessionsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/SyncListSessions.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/SyncListSessions.java
index af3db7796e..6c1758880c 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/SyncListSessions.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/SyncListSessions.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTests.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTests.java
index b32136cb50..d4d46cda48 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTests.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTests.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTestsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTestsPaged.java
index 41692c2cdc..66483a07b5 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTestsPaged.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTestsPaged.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/SyncListTests.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/SyncListTests.java
index 09e918bcbf..6f64d0191d 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/SyncListTests.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/SyncListTests.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/AsyncReportSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/AsyncReportSession.java
index b049d290f1..8f0382f500 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/AsyncReportSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/AsyncReportSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/SyncReportSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/SyncReportSession.java
index 1420b6a569..9a5c5ff880 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/SyncReportSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/SyncReportSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/AsyncVerifyTest.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/AsyncVerifyTest.java
index 1c6216b9ba..2f8264c4ce 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/AsyncVerifyTest.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/AsyncVerifyTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/SyncVerifyTest.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/SyncVerifyTest.java
index 26ed7c7d1a..99d852e77e 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/SyncVerifyTest.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/SyncVerifyTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testingsettings/createsession/SyncCreateSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testingsettings/createsession/SyncCreateSession.java
index 9fd60bceb9..a7f59e9e34 100644
--- a/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testingsettings/createsession/SyncCreateSession.java
+++ b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testingsettings/createsession/SyncCreateSession.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceClient.java
index 5032a4d4c5..1b1b9cd00a 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceClient.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceSettings.java
index f25bc015c3..3e3a4beaa5 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoClient.java
index 70decdf855..7eae457785 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoClient.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoSettings.java
index 963b199161..dfac5477a8 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentityClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentityClient.java
index 2c94ecab1d..e9d0a348b7 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentityClient.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentityClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentitySettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentitySettings.java
index 885a0a122a..0cf54dacbc 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentitySettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentitySettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingClient.java
index 4fb71d56ae..d2476e05ee 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingClient.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingSettings.java
index 8206e915ca..9b699b6e94 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java
index c49de63088..378bc855b3 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceSettings.java
index 083da1863c..4b1de81967 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingClient.java
index 39fc7898c0..a0cacc1455 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingClient.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingClient.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingSettings.java
index 44ebefd19a..7fb5f25b5b 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/package-info.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/package-info.java
index be1926a090..3e4b18d27e 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/package-info.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/package-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStub.java
index 881e6055a7..1ad896afb3 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java
index ca4f45d527..6cb3ac63de 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStub.java
index 3aee7ae2ea..04316a20cf 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStubSettings.java
index 10037db6f7..8228740686 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStubSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceCallableFactory.java
index 953ca5555b..9b91d01574 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceStub.java
index f1cf70ac3d..c6dcf25bf3 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,12 +24,12 @@
 import com.google.api.gax.grpc.GrpcCallSettings;
 import com.google.api.gax.grpc.GrpcStubCallableFactory;
 import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
 import com.google.cloud.location.ListLocationsResponse;
 import com.google.cloud.location.Location;
-import com.google.common.collect.ImmutableMap;
 import com.google.longrunning.stub.GrpcOperationsStub;
 import com.google.showcase.v1beta1.EnumRequest;
 import com.google.showcase.v1beta1.EnumResponse;
@@ -233,13 +233,13 @@ protected GrpcComplianceStub(
             .setMethodDescriptor(repeatDataSimplePathMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("info.f_bool", String.valueOf(request.getInfo().getFBool()));
-                  params.put("info.f_double", String.valueOf(request.getInfo().getFDouble()));
-                  params.put("info.f_int32", String.valueOf(request.getInfo().getFInt32()));
-                  params.put("info.f_kingdom", String.valueOf(request.getInfo().getFKingdom()));
-                  params.put("info.f_string", String.valueOf(request.getInfo().getFString()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("info.f_bool", String.valueOf(request.getInfo().getFBool()));
+                  builder.add("info.f_double", String.valueOf(request.getInfo().getFDouble()));
+                  builder.add("info.f_int32", String.valueOf(request.getInfo().getFInt32()));
+                  builder.add("info.f_kingdom", String.valueOf(request.getInfo().getFKingdom()));
+                  builder.add("info.f_string", String.valueOf(request.getInfo().getFString()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings repeatDataPathResourceTransportSettings =
@@ -247,13 +247,13 @@ protected GrpcComplianceStub(
             .setMethodDescriptor(repeatDataPathResourceMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("info.f_bool", String.valueOf(request.getInfo().getFBool()));
-                  params.put(
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("info.f_bool", String.valueOf(request.getInfo().getFBool()));
+                  builder.add(
                       "info.f_child.f_string",
                       String.valueOf(request.getInfo().getFChild().getFString()));
-                  params.put("info.f_string", String.valueOf(request.getInfo().getFString()));
-                  return params.build();
+                  builder.add("info.f_string", String.valueOf(request.getInfo().getFString()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings
@@ -262,12 +262,12 @@ protected GrpcComplianceStub(
                 .setMethodDescriptor(repeatDataPathTrailingResourceMethodDescriptor)
                 .setParamsExtractor(
                     request -> {
-                      ImmutableMap.Builder params = ImmutableMap.builder();
-                      params.put(
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add(
                           "info.f_child.f_string",
                           String.valueOf(request.getInfo().getFChild().getFString()));
-                      params.put("info.f_string", String.valueOf(request.getInfo().getFString()));
-                      return params.build();
+                      builder.add("info.f_string", String.valueOf(request.getInfo().getFString()));
+                      return builder.build();
                     })
                 .build();
     GrpcCallSettings repeatDataBodyPutTransportSettings =
@@ -291,9 +291,9 @@ protected GrpcComplianceStub(
             .setMethodDescriptor(listLocationsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings getLocationTransportSettings =
@@ -301,9 +301,9 @@ protected GrpcComplianceStub(
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
 
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoCallableFactory.java
index 3306812933..d5cacc6cbf 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoStub.java
index f03d04b022..36c6e630d5 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -37,7 +37,6 @@
 import com.google.cloud.location.ListLocationsRequest;
 import com.google.cloud.location.ListLocationsResponse;
 import com.google.cloud.location.Location;
-import com.google.common.collect.ImmutableMap;
 import com.google.longrunning.Operation;
 import com.google.longrunning.stub.GrpcOperationsStub;
 import com.google.showcase.v1beta1.BlockRequest;
@@ -295,9 +294,9 @@ protected GrpcEchoStub(
             .setMethodDescriptor(listLocationsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings getLocationTransportSettings =
@@ -305,9 +304,9 @@ protected GrpcEchoStub(
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
 
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityCallableFactory.java
index 313391c0ee..fdb71cd059 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityStub.java
index 1e5d530d3d..1e2c7c0b4c 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -25,12 +25,12 @@
 import com.google.api.gax.grpc.GrpcCallSettings;
 import com.google.api.gax.grpc.GrpcStubCallableFactory;
 import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
 import com.google.cloud.location.ListLocationsResponse;
 import com.google.cloud.location.Location;
-import com.google.common.collect.ImmutableMap;
 import com.google.longrunning.stub.GrpcOperationsStub;
 import com.google.protobuf.Empty;
 import com.google.showcase.v1beta1.CreateUserRequest;
@@ -175,9 +175,9 @@ protected GrpcIdentityStub(
             .setMethodDescriptor(getUserMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings updateUserTransportSettings =
@@ -185,9 +185,9 @@ protected GrpcIdentityStub(
             .setMethodDescriptor(updateUserMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("user.name", String.valueOf(request.getUser().getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("user.name", String.valueOf(request.getUser().getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings deleteUserTransportSettings =
@@ -195,9 +195,9 @@ protected GrpcIdentityStub(
             .setMethodDescriptor(deleteUserMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings listUsersTransportSettings =
@@ -209,9 +209,9 @@ protected GrpcIdentityStub(
             .setMethodDescriptor(listLocationsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings getLocationTransportSettings =
@@ -219,9 +219,9 @@ protected GrpcIdentityStub(
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
 
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingCallableFactory.java
index 82e36cdcdf..9062dc33ae 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingStub.java
index 871e63f612..52bc2b8c36 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -29,13 +29,13 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientStreamingCallable;
 import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.ServerStreamingCallable;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
 import com.google.cloud.location.ListLocationsResponse;
 import com.google.cloud.location.Location;
-import com.google.common.collect.ImmutableMap;
 import com.google.longrunning.Operation;
 import com.google.longrunning.stub.GrpcOperationsStub;
 import com.google.protobuf.Empty;
@@ -289,9 +289,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(getRoomMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings updateRoomTransportSettings =
@@ -299,9 +299,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(updateRoomMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("room.name", String.valueOf(request.getRoom().getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("room.name", String.valueOf(request.getRoom().getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings deleteRoomTransportSettings =
@@ -309,9 +309,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(deleteRoomMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings listRoomsTransportSettings =
@@ -323,9 +323,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(createBlurbMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("parent", String.valueOf(request.getParent()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings getBlurbTransportSettings =
@@ -333,9 +333,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(getBlurbMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings updateBlurbTransportSettings =
@@ -343,9 +343,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(updateBlurbMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("blurb.name", String.valueOf(request.getBlurb().getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("blurb.name", String.valueOf(request.getBlurb().getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings deleteBlurbTransportSettings =
@@ -353,9 +353,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(deleteBlurbMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings listBlurbsTransportSettings =
@@ -363,9 +363,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(listBlurbsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("parent", String.valueOf(request.getParent()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings searchBlurbsTransportSettings =
@@ -373,9 +373,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(searchBlurbsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("parent", String.valueOf(request.getParent()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings streamBlurbsTransportSettings =
@@ -383,9 +383,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(streamBlurbsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings sendBlurbsTransportSettings =
@@ -393,9 +393,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(sendBlurbsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("parent", String.valueOf(request.getParent()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings connectTransportSettings =
@@ -407,9 +407,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(listLocationsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings getLocationTransportSettings =
@@ -417,9 +417,9 @@ protected GrpcMessagingStub(
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
 
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceCallableFactory.java
index b7ed163bf7..4526e1026e 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceStub.java
index 24c4d58065..e2c47d1117 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,13 +24,13 @@
 import com.google.api.gax.grpc.GrpcCallSettings;
 import com.google.api.gax.grpc.GrpcStubCallableFactory;
 import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.ServerStreamingCallable;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
 import com.google.cloud.location.ListLocationsResponse;
 import com.google.cloud.location.Location;
-import com.google.common.collect.ImmutableMap;
 import com.google.longrunning.stub.GrpcOperationsStub;
 import com.google.protobuf.Empty;
 import com.google.showcase.v1beta1.AttemptSequenceRequest;
@@ -217,9 +217,9 @@ protected GrpcSequenceServiceStub(
             .setMethodDescriptor(getSequenceReportMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings
@@ -229,9 +229,9 @@ protected GrpcSequenceServiceStub(
                 .setMethodDescriptor(getStreamingSequenceReportMethodDescriptor)
                 .setParamsExtractor(
                     request -> {
-                      ImmutableMap.Builder params = ImmutableMap.builder();
-                      params.put("name", String.valueOf(request.getName()));
-                      return params.build();
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
                     })
                 .build();
     GrpcCallSettings attemptSequenceTransportSettings =
@@ -239,9 +239,9 @@ protected GrpcSequenceServiceStub(
             .setMethodDescriptor(attemptSequenceMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings
@@ -251,9 +251,9 @@ protected GrpcSequenceServiceStub(
                 .setMethodDescriptor(attemptStreamingSequenceMethodDescriptor)
                 .setParamsExtractor(
                     request -> {
-                      ImmutableMap.Builder params = ImmutableMap.builder();
-                      params.put("name", String.valueOf(request.getName()));
-                      return params.build();
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
                     })
                 .build();
     GrpcCallSettings listLocationsTransportSettings =
@@ -261,9 +261,9 @@ protected GrpcSequenceServiceStub(
             .setMethodDescriptor(listLocationsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings getLocationTransportSettings =
@@ -271,9 +271,9 @@ protected GrpcSequenceServiceStub(
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
 
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingCallableFactory.java
index d117701765..ed15768641 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingStub.java
index c0251e2db1..fb4f36ca08 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,12 +26,12 @@
 import com.google.api.gax.grpc.GrpcCallSettings;
 import com.google.api.gax.grpc.GrpcStubCallableFactory;
 import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
 import com.google.cloud.location.ListLocationsResponse;
 import com.google.cloud.location.Location;
-import com.google.common.collect.ImmutableMap;
 import com.google.longrunning.stub.GrpcOperationsStub;
 import com.google.protobuf.Empty;
 import com.google.showcase.v1beta1.CreateSessionRequest;
@@ -219,9 +219,9 @@ protected GrpcTestingStub(
             .setMethodDescriptor(getSessionMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings listSessionsTransportSettings =
@@ -233,9 +233,9 @@ protected GrpcTestingStub(
             .setMethodDescriptor(deleteSessionMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings reportSessionTransportSettings =
@@ -243,9 +243,9 @@ protected GrpcTestingStub(
             .setMethodDescriptor(reportSessionMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings listTestsTransportSettings =
@@ -253,9 +253,9 @@ protected GrpcTestingStub(
             .setMethodDescriptor(listTestsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("parent", String.valueOf(request.getParent()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings deleteTestTransportSettings =
@@ -263,9 +263,9 @@ protected GrpcTestingStub(
             .setMethodDescriptor(deleteTestMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings verifyTestTransportSettings =
@@ -273,9 +273,9 @@ protected GrpcTestingStub(
             .setMethodDescriptor(verifyTestMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings listLocationsTransportSettings =
@@ -283,9 +283,9 @@ protected GrpcTestingStub(
             .setMethodDescriptor(listLocationsMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
     GrpcCallSettings getLocationTransportSettings =
@@ -293,9 +293,9 @@ protected GrpcTestingStub(
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setParamsExtractor(
                 request -> {
-                  ImmutableMap.Builder params = ImmutableMap.builder();
-                  params.put("name", String.valueOf(request.getName()));
-                  return params.build();
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
                 })
             .build();
 
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceCallableFactory.java
index ae83f1e131..20f08dd5a2 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceStub.java
index 47aaa36e1f..d03d9ee917 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
@@ -654,17 +655,46 @@ protected HttpJsonComplianceStub(
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(repeatDataSimplePathMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("info.f_bool", String.valueOf(request.getInfo().getFBool()));
+                  builder.add("info.f_double", String.valueOf(request.getInfo().getFDouble()));
+                  builder.add("info.f_int32", String.valueOf(request.getInfo().getFInt32()));
+                  builder.add("info.f_kingdom", String.valueOf(request.getInfo().getFKingdom()));
+                  builder.add("info.f_string", String.valueOf(request.getInfo().getFString()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings repeatDataPathResourceTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(repeatDataPathResourceMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("info.f_bool", String.valueOf(request.getInfo().getFBool()));
+                  builder.add(
+                      "info.f_child.f_string",
+                      String.valueOf(request.getInfo().getFChild().getFString()));
+                  builder.add("info.f_string", String.valueOf(request.getInfo().getFString()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings
         repeatDataPathTrailingResourceTransportSettings =
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(repeatDataPathTrailingResourceMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add(
+                          "info.f_child.f_string",
+                          String.valueOf(request.getInfo().getFChild().getFString()));
+                      builder.add("info.f_string", String.valueOf(request.getInfo().getFString()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings repeatDataBodyPutTransportSettings =
         HttpJsonCallSettings.newBuilder()
@@ -691,11 +721,23 @@ protected HttpJsonComplianceStub(
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(listLocationsMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings getLocationTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
 
     this.repeatDataBodyCallable =
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoCallableFactory.java
index 0702689af2..6e537829af 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoStub.java
index 8b6a44a94c..494d6613c7 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -38,8 +38,10 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientStreamingCallable;
 import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.ServerStreamingCallable;
 import com.google.api.gax.rpc.UnaryCallable;
+import com.google.api.pathtemplate.PathTemplate;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
 import com.google.cloud.location.ListLocationsResponse;
@@ -409,6 +411,20 @@ public class HttpJsonEchoStub extends EchoStub {
   private final HttpJsonOperationsStub httpJsonOperationsStub;
   private final HttpJsonStubCallableFactory callableFactory;
 
+  private static final PathTemplate ECHO_0_PATH_TEMPLATE = PathTemplate.create("{header=**}");
+  private static final PathTemplate ECHO_1_PATH_TEMPLATE = PathTemplate.create("{routing_id=**}");
+  private static final PathTemplate ECHO_2_PATH_TEMPLATE =
+      PathTemplate.create("{table_name=regions/*/zones/*/**}");
+  private static final PathTemplate ECHO_3_PATH_TEMPLATE =
+      PathTemplate.create("{super_id=projects/*}/**");
+  private static final PathTemplate ECHO_4_PATH_TEMPLATE =
+      PathTemplate.create("{table_name=projects/*/instances/*/**}");
+  private static final PathTemplate ECHO_5_PATH_TEMPLATE =
+      PathTemplate.create("projects/*/{instance_id=instances/*}/**");
+  private static final PathTemplate ECHO_6_PATH_TEMPLATE = PathTemplate.create("{baz=**}");
+  private static final PathTemplate ECHO_7_PATH_TEMPLATE =
+      PathTemplate.create("{qux=projects/*}/**");
+
   public static final HttpJsonEchoStub create(EchoStubSettings settings) throws IOException {
     return new HttpJsonEchoStub(settings, ClientContext.create(settings));
   }
@@ -466,6 +482,19 @@ protected HttpJsonEchoStub(
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(echoMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add(request.getHeader(), "header", ECHO_0_PATH_TEMPLATE);
+                  builder.add(request.getHeader(), "routing_id", ECHO_1_PATH_TEMPLATE);
+                  builder.add(request.getHeader(), "table_name", ECHO_2_PATH_TEMPLATE);
+                  builder.add(request.getHeader(), "super_id", ECHO_3_PATH_TEMPLATE);
+                  builder.add(request.getHeader(), "table_name", ECHO_4_PATH_TEMPLATE);
+                  builder.add(request.getHeader(), "instance_id", ECHO_5_PATH_TEMPLATE);
+                  builder.add(request.getOtherHeader(), "baz", ECHO_6_PATH_TEMPLATE);
+                  builder.add(request.getOtherHeader(), "qux", ECHO_7_PATH_TEMPLATE);
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings expandTransportSettings =
         HttpJsonCallSettings.newBuilder()
@@ -504,11 +533,23 @@ protected HttpJsonEchoStub(
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(listLocationsMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings getLocationTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
 
     this.echoCallable =
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityCallableFactory.java
index b8766ddbcd..9d0321dfff 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityStub.java
index 8f4186f1fd..264eb6c5bc 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -30,6 +30,7 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
@@ -357,16 +358,34 @@ protected HttpJsonIdentityStub(
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getUserMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings updateUserTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(updateUserMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("user.name", String.valueOf(request.getUser().getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings deleteUserTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(deleteUserMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings listUsersTransportSettings =
         HttpJsonCallSettings.newBuilder()
@@ -378,11 +397,23 @@ protected HttpJsonIdentityStub(
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(listLocationsMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings getLocationTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
 
     this.createUserCallable =
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingCallableFactory.java
index f56157bdd4..ff68f97a4b 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingStub.java
index 982a5dc542..100623c169 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -38,6 +38,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientStreamingCallable;
 import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.ServerStreamingCallable;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
@@ -668,16 +669,34 @@ protected HttpJsonMessagingStub(
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getRoomMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings updateRoomTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(updateRoomMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("room.name", String.valueOf(request.getRoom().getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings deleteRoomTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(deleteRoomMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings listRoomsTransportSettings =
         HttpJsonCallSettings.newBuilder()
@@ -688,47 +707,101 @@ protected HttpJsonMessagingStub(
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(createBlurbMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings getBlurbTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getBlurbMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings updateBlurbTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(updateBlurbMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("blurb.name", String.valueOf(request.getBlurb().getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings deleteBlurbTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(deleteBlurbMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings listBlurbsTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(listBlurbsMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings searchBlurbsTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(searchBlurbsMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings streamBlurbsTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(streamBlurbsMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings
         listLocationsTransportSettings =
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(listLocationsMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings getLocationTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
 
     this.createRoomCallable =
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceCallableFactory.java
index dc37c46e8a..0bfaaac9bc 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceStub.java
index 86e488d457..4652aef4a4 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.ServerStreamingCallable;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
@@ -420,6 +421,12 @@ protected HttpJsonSequenceServiceStub(
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(getSequenceReportMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings
         getStreamingSequenceReportTransportSettings =
@@ -427,11 +434,23 @@ protected HttpJsonSequenceServiceStub(
                 .newBuilder()
                 .setMethodDescriptor(getStreamingSequenceReportMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings attemptSequenceTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(attemptSequenceMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings
         attemptStreamingSequenceTransportSettings =
@@ -439,17 +458,35 @@ protected HttpJsonSequenceServiceStub(
                 .newBuilder()
                 .setMethodDescriptor(attemptStreamingSequenceMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings
         listLocationsTransportSettings =
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(listLocationsMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings getLocationTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
 
     this.createSequenceCallable =
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingCallableFactory.java
index c33422c6ae..74e029a9cc 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingCallableFactory.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingStub.java
index 15fcae3747..560f9a1fb6 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -31,6 +31,7 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.location.GetLocationRequest;
 import com.google.cloud.location.ListLocationsRequest;
@@ -469,6 +470,12 @@ protected HttpJsonTestingStub(
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getSessionMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings listSessionsTransportSettings =
         HttpJsonCallSettings.newBuilder()
@@ -479,38 +486,80 @@ protected HttpJsonTestingStub(
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(deleteSessionMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings
         reportSessionTransportSettings =
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(reportSessionMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings listTestsTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(listTestsMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent", String.valueOf(request.getParent()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings deleteTestTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(deleteTestMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings verifyTestTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(verifyTestMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
     HttpJsonCallSettings
         listLocationsTransportSettings =
             HttpJsonCallSettings.newBuilder()
                 .setMethodDescriptor(listLocationsMethodDescriptor)
                 .setTypeRegistry(typeRegistry)
+                .setParamsExtractor(
+                    request -> {
+                      RequestParamsBuilder builder = RequestParamsBuilder.create();
+                      builder.add("name", String.valueOf(request.getName()));
+                      return builder.build();
+                    })
                 .build();
     HttpJsonCallSettings getLocationTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getLocationMethodDescriptor)
             .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("name", String.valueOf(request.getName()));
+                  return builder.build();
+                })
             .build();
 
     this.createSessionCallable =
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStub.java
index 1721443a6e..04f4dfca64 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStubSettings.java
index 564612f69f..4618068588 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStubSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStub.java
index 53876f1740..8a88520533 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStubSettings.java
index 9e7f994a28..a781f36c3e 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStubSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStub.java
index 45c67ac0d6..1442052ddc 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java
index cb794357a3..d95c94c97c 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStub.java
index de71be4e01..48ac98f3d2 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStub.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStubSettings.java
index bb175d4a90..decec2e84a 100644
--- a/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStubSettings.java
+++ b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java
index fcc60b2f0f..14bd0a271a 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientTest.java
index a075ce424c..b7b7c00a3d 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientHttpJsonTest.java
index da72d66aa7..908fd142a6 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientHttpJsonTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientHttpJsonTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientTest.java
index c36512bbab..dfce67ccc0 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientHttpJsonTest.java
index dfaf985585..89f3a1f93c 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientHttpJsonTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientHttpJsonTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientTest.java
index 5d71e63da3..d94f41876c 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientHttpJsonTest.java
index 4d10c5727d..dcea965000 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientHttpJsonTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientHttpJsonTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientTest.java
index 748af52f0e..20eab215c8 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockCompliance.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockCompliance.java
index 5c86c23a02..0238b68e11 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockCompliance.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockCompliance.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockComplianceImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockComplianceImpl.java
index 5d27cb09c2..0bb0662c98 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockComplianceImpl.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockComplianceImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEcho.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEcho.java
index 713524d540..249213a7ea 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEcho.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEcho.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEchoImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEchoImpl.java
index ebb4bab00d..7e089b4ac0 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEchoImpl.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEchoImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentity.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentity.java
index c1fa686113..92e4382b26 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentity.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentity.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentityImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentityImpl.java
index 508e333af6..6ebd3ed721 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentityImpl.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentityImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockLocations.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockLocations.java
index d4c0888b58..3ae2a8c13d 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockLocations.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockLocations.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockLocationsImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockLocationsImpl.java
index 74019c50d1..38de794f6d 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockLocationsImpl.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockLocationsImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessaging.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessaging.java
index 213a8982b8..061386a91c 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessaging.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessaging.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessagingImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessagingImpl.java
index f14386051c..5cdce5ea39 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessagingImpl.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessagingImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceService.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceService.java
index 6e7db409ff..d26492bd88 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceService.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceService.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceServiceImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceServiceImpl.java
index 718d5419b0..502ce6e1d1 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceServiceImpl.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceServiceImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTesting.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTesting.java
index 07bf673623..f6570d23c9 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTesting.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTesting.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTestingImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTestingImpl.java
index 8bc492536e..91dc83d4a7 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTestingImpl.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTestingImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientHttpJsonTest.java
index 3551e72112..88bb1605ea 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientHttpJsonTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientHttpJsonTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientTest.java
index 2111e0b260..15d3443e81 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientHttpJsonTest.java
index 68251a4758..10a408b18b 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientHttpJsonTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientHttpJsonTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientTest.java
index ed99dca6c1..da33afcb02 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientTest.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITBidiStreaming.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITBidiStreaming.java
index ad90efc71e..4a2717b6f3 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITBidiStreaming.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITBidiStreaming.java
@@ -29,20 +29,27 @@
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
-import org.junit.After;
-import org.junit.Before;
+import java.util.concurrent.TimeUnit;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
 import org.junit.Test;
 
 public class ITBidiStreaming {
 
-  private EchoClient grpcClient;
+  private static EchoClient grpcClient;
 
-  @Before
-  public void setUp() throws Exception {
+  @BeforeClass
+  public static void createClients() throws Exception {
     // Create gRPC Echo Client
     grpcClient = TestClientInitializer.createGrpcEchoClient();
   }
 
+  @AfterClass
+  public static void destroyClients() throws Exception {
+    grpcClient.close();
+    grpcClient.awaitTermination(TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
+  }
+
   // The current implementation of BIDI streaming on Echo showcase server is that it would echo the
   // request content back on every request, so this test verifies that the response content is
   // exactly the same as request content.
@@ -97,9 +104,4 @@ public SettableApiFuture> getFuture() {
       return future;
     }
   }
-
-  @After
-  public void tearDown() throws Exception {
-    grpcClient.close();
-  }
 }
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITClientSideStreaming.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITClientSideStreaming.java
index 93ddd876fd..d6a25654e4 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITClientSideStreaming.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITClientSideStreaming.java
@@ -31,23 +31,25 @@
 import java.util.ArrayList;
 import java.util.List;
 import java.util.concurrent.ExecutionException;
-import org.junit.After;
-import org.junit.Before;
+import java.util.concurrent.TimeUnit;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
 import org.junit.Test;
 
 public class ITClientSideStreaming {
 
-  private EchoClient grpcClient;
+  private static EchoClient grpcClient;
 
-  @Before
-  public void createClients() throws Exception {
+  @BeforeClass
+  public static void createClients() throws Exception {
     // Create gRPC Echo Client
     grpcClient = TestClientInitializer.createGrpcEchoClient();
   }
 
-  @After
-  public void destroyClient() {
+  @AfterClass
+  public static void destroyClients() throws InterruptedException {
     grpcClient.close();
+    grpcClient.awaitTermination(TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
   }
 
   @Test
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCommonServiceMixins.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCommonServiceMixins.java
index 5a8ca300d3..a00809914a 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCommonServiceMixins.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCommonServiceMixins.java
@@ -26,7 +26,9 @@
 import com.google.showcase.v1beta1.it.util.TestClientInitializer;
 import java.util.ArrayList;
 import java.util.List;
-import org.junit.Before;
+import java.util.concurrent.TimeUnit;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
 import org.junit.Test;
 
 public class ITCommonServiceMixins {
@@ -51,11 +53,11 @@ public class ITCommonServiceMixins {
               .setName("projects/showcase/locations/us-west")
               .setDisplayName("us-west")
               .build());
-  private EchoClient grpcClient;
-  private EchoClient httpjsonClient;
+  private static EchoClient grpcClient;
+  private static EchoClient httpjsonClient;
 
-  @Before
-  public void createClients() throws Exception {
+  @BeforeClass
+  public static void createClients() throws Exception {
     // Create gRPC Echo Client
     grpcClient = TestClientInitializer.createGrpcEchoClient();
 
@@ -63,6 +65,16 @@ public void createClients() throws Exception {
     httpjsonClient = TestClientInitializer.createHttpJsonEchoClient();
   }
 
+  @AfterClass
+  public static void destroyClients() throws InterruptedException {
+    grpcClient.close();
+    httpjsonClient.close();
+
+    grpcClient.awaitTermination(TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
+    httpjsonClient.awaitTermination(
+        TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
+  }
+
   @Test
   public void testGrpc_getLocation() {
     GetLocationRequest request =
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCrud.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCrud.java
index 356ea5107a..3cf4b77d2f 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCrud.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCrud.java
@@ -29,8 +29,10 @@
 import com.google.showcase.v1beta1.it.util.TestClientInitializer;
 import java.util.Arrays;
 import java.util.List;
-import org.junit.After;
+import java.util.concurrent.TimeUnit;
+import org.junit.AfterClass;
 import org.junit.Before;
+import org.junit.BeforeClass;
 import org.junit.Test;
 
 public class ITCrud {
@@ -44,24 +46,38 @@ public class ITCrud {
           .setAge(25)
           .build();
 
-  private IdentityClient grpcClient;
-  private IdentityClient httpJsonClient;
+  private static IdentityClient grpcClient;
+  private static IdentityClient httpjsonClient;
 
-  @Before
-  public void setup() throws Exception {
+  @BeforeClass
+  public static void createClients() throws Exception {
     // Create gRPC IdentityClient
     grpcClient = TestClientInitializer.createGrpcIdentityClient();
     // Create HttpJson IdentityClient
-    httpJsonClient = TestClientInitializer.createHttpJsonIdentityClient();
-
-    // Ensure an empty state before each run
-    cleanupData(httpJsonClient);
+    httpjsonClient = TestClientInitializer.createHttpJsonIdentityClient();
   }
 
-  @After
-  public void cleanup() {
+  @AfterClass
+  public static void destroyClients() throws InterruptedException {
     grpcClient.close();
-    httpJsonClient.close();
+    httpjsonClient.close();
+
+    grpcClient.awaitTermination(TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
+    httpjsonClient.awaitTermination(
+        TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
+  }
+
+  @Before
+  public void cleanupData() {
+    IdentityClient.ListUsersPagedResponse pagedResponse =
+        grpcClient.listUsers(ListUsersRequest.newBuilder().setPageSize(5).build());
+    for (IdentityClient.ListUsersPage listUsersPage : pagedResponse.iteratePages()) {
+      for (User user : listUsersPage.getResponse().getUsersList()) {
+        grpcClient.deleteUser(user.getName());
+      }
+    }
+    pagedResponse = httpjsonClient.listUsers(ListUsersRequest.newBuilder().setPageSize(5).build());
+    assertThat(pagedResponse.getPage().getResponse().getUsersList().size()).isEqualTo(0);
   }
 
   @Test
@@ -95,7 +111,7 @@ public void testHttpJson_Read() {
                     .build()));
     // Assert that only one User exists
     IdentityClient.ListUsersPagedResponse listUsersPagedResponse =
-        httpJsonClient.listUsers(ListUsersRequest.newBuilder().setPageSize(5).build());
+        httpjsonClient.listUsers(ListUsersRequest.newBuilder().setPageSize(5).build());
     ListUsersResponse listUsersResponse = listUsersPagedResponse.getPage().getResponse();
     assertThat(listUsersResponse.getUsersList().size()).isEqualTo(2);
 
@@ -105,7 +121,7 @@ public void testHttpJson_Read() {
 
     // Get User
     User defaultUser = expectedUsersList.get(0);
-    User getUserResponse = httpJsonClient.getUser(defaultUser.getName());
+    User getUserResponse = httpjsonClient.getUser(defaultUser.getName());
     assertThat(getUserResponse).isEqualTo(defaultUser);
   }
 
@@ -124,7 +140,7 @@ public void testHttpJson_Update() {
             .setEnableNotifications(true)
             .build();
     User updateUserResponse =
-        httpJsonClient.updateUser(
+        httpjsonClient.updateUser(
             UpdateUserRequest.newBuilder()
                 .setUser(updateUser)
                 .setUpdateMask(
@@ -148,26 +164,14 @@ public void testHttpJson_Update() {
   public void testHttpJson_Delete() {
     User userResponse = createDefaultUser();
 
-    httpJsonClient.deleteUser(
+    httpjsonClient.deleteUser(
         DeleteUserRequest.newBuilder().setName(userResponse.getName()).build());
 
     IdentityClient.ListUsersPagedResponse listUsersPagedResponse =
-        httpJsonClient.listUsers(ListUsersRequest.newBuilder().setPageSize(5).build());
+        httpjsonClient.listUsers(ListUsersRequest.newBuilder().setPageSize(5).build());
     assertThat(listUsersPagedResponse.getPage().getResponse().getUsersList().size()).isEqualTo(0);
   }
 
-  private void cleanupData(IdentityClient identityClient) {
-    IdentityClient.ListUsersPagedResponse pagedResponse =
-        identityClient.listUsers(ListUsersRequest.newBuilder().setPageSize(5).build());
-    for (IdentityClient.ListUsersPage listUsersPage : pagedResponse.iteratePages()) {
-      for (User user : listUsersPage.getResponse().getUsersList()) {
-        identityClient.deleteUser(user.getName());
-      }
-    }
-    pagedResponse = httpJsonClient.listUsers(ListUsersRequest.newBuilder().setPageSize(5).build());
-    assertThat(pagedResponse.getPage().getResponse().getUsersList().size()).isEqualTo(0);
-  }
-
   private User createDefaultUser() {
     return createUser(DEFAULT_USER);
   }
@@ -182,6 +186,6 @@ private User createDefaultUser() {
    * @return newly created user
    */
   private User createUser(User user) {
-    return httpJsonClient.createUser(CreateUserRequest.newBuilder().setUser(user).build());
+    return httpjsonClient.createUser(CreateUserRequest.newBuilder().setUser(user).build());
   }
 }
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITDynamicRoutingHeaders.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITDynamicRoutingHeaders.java
new file mode 100644
index 0000000000..e542b70eb7
--- /dev/null
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITDynamicRoutingHeaders.java
@@ -0,0 +1,311 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * 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.
+ */
+package com.google.showcase.v1beta1.it;
+
+import static com.google.api.gax.rpc.internal.Headers.DYNAMIC_ROUTING_HEADER_KEY;
+import static com.google.common.truth.Truth.assertThat;
+
+import com.google.api.gax.httpjson.ApiMethodDescriptor;
+import com.google.api.gax.httpjson.ForwardingHttpJsonClientCall;
+import com.google.api.gax.httpjson.ForwardingHttpJsonClientCallListener;
+import com.google.api.gax.httpjson.HttpJsonCallOptions;
+import com.google.api.gax.httpjson.HttpJsonChannel;
+import com.google.api.gax.httpjson.HttpJsonClientCall;
+import com.google.api.gax.httpjson.HttpJsonClientInterceptor;
+import com.google.api.gax.httpjson.HttpJsonMetadata;
+import com.google.common.collect.ImmutableList;
+import com.google.showcase.v1beta1.EchoClient;
+import com.google.showcase.v1beta1.EchoRequest;
+import com.google.showcase.v1beta1.it.util.TestClientInitializer;
+import io.grpc.CallOptions;
+import io.grpc.Channel;
+import io.grpc.ClientCall;
+import io.grpc.ClientInterceptor;
+import io.grpc.ForwardingClientCall;
+import io.grpc.Metadata;
+import io.grpc.MethodDescriptor;
+import java.util.Arrays;
+import java.util.List;
+import java.util.stream.Collectors;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+public class ITDynamicRoutingHeaders {
+  private static final String SPLIT_TOKEN = "&";
+  private static final Metadata.Key REQUEST_PARAMS_HEADER_KEY =
+      Metadata.Key.of(DYNAMIC_ROUTING_HEADER_KEY, Metadata.ASCII_STRING_MARSHALLER);
+
+  // Implement a request interceptor to retrieve the headers being sent on the request.
+  // The headers being set are part of the Metadata
+  private static class GrpcCapturingClientInterceptor implements ClientInterceptor {
+    private Metadata metadata;
+
+    @Override
+    public  ClientCall interceptCall(
+        MethodDescriptor method, final CallOptions callOptions, Channel next) {
+      ClientCall call = next.newCall(method, callOptions);
+      return new ForwardingClientCall.SimpleForwardingClientCall(call) {
+        @Override
+        public void start(ClientCall.Listener responseListener, Metadata headers) {
+          metadata = headers;
+          super.start(responseListener, headers);
+        }
+      };
+    }
+  }
+
+  // Implement a request interceptor to retrieve the headers being sent on the request
+  // The headers being set are part of the CallOptions
+  private static class HttpJsonCapturingClientInterceptor implements HttpJsonClientInterceptor {
+    private String requestParam;
+
+    @Override
+    public  HttpJsonClientCall interceptCall(
+        ApiMethodDescriptor method,
+        HttpJsonCallOptions callOptions,
+        HttpJsonChannel next) {
+      HttpJsonClientCall call = next.newCall(method, callOptions);
+      return new ForwardingHttpJsonClientCall.SimpleForwardingHttpJsonClientCall<
+          RequestT, ResponseT>(call) {
+        @Override
+        public void start(Listener responseListener, HttpJsonMetadata requestHeaders) {
+          Listener forwardingResponseListener =
+              new ForwardingHttpJsonClientCallListener.SimpleForwardingHttpJsonClientCallListener<
+                  ResponseT>(responseListener) {
+                @Override
+                public void onHeaders(HttpJsonMetadata responseHeaders) {
+                  super.onHeaders(responseHeaders);
+                }
+
+                @Override
+                public void onMessage(ResponseT message) {
+                  super.onMessage(message);
+                }
+
+                @Override
+                public void onClose(int statusCode, HttpJsonMetadata trailers) {
+                  super.onClose(statusCode, trailers);
+                }
+              };
+
+          super.start(forwardingResponseListener, requestHeaders);
+          if (requestHeaders.getHeaders().containsKey(DYNAMIC_ROUTING_HEADER_KEY)) {
+            requestParam =
+                String.valueOf(requestHeaders.getHeaders().get(DYNAMIC_ROUTING_HEADER_KEY));
+          }
+        }
+      };
+    }
+  }
+
+  private HttpJsonCapturingClientInterceptor httpJsonInterceptor;
+  private GrpcCapturingClientInterceptor grpcInterceptor;
+
+  private EchoClient grpcClient;
+  private EchoClient httpJsonClient;
+
+  @Before
+  public void createClients() throws Exception {
+    // Create gRPC Interceptor and Client
+    grpcInterceptor = new GrpcCapturingClientInterceptor();
+    grpcClient = TestClientInitializer.createGrpcEchoClient(ImmutableList.of(grpcInterceptor));
+
+    // Create HttpJson Interceptor and Client
+    httpJsonInterceptor = new HttpJsonCapturingClientInterceptor();
+    httpJsonClient =
+        TestClientInitializer.createHttpJsonEchoClient(ImmutableList.of(httpJsonInterceptor));
+  }
+
+  @After
+  public void destroyClient() {
+    grpcClient.close();
+    httpJsonClient.close();
+  }
+
+  @Test
+  public void testGrpc_noRoutingHeaderUsed() {
+    grpcClient.echo(EchoRequest.newBuilder().build());
+    String headerValue = grpcInterceptor.metadata.get(REQUEST_PARAMS_HEADER_KEY);
+    assertThat(headerValue).isNull();
+  }
+
+  @Test
+  public void testHttpJson_noRoutingHeaderUsed() {
+    httpJsonClient.echo(EchoRequest.newBuilder().build());
+    String headerValue = httpJsonInterceptor.requestParam;
+    assertThat(headerValue).isNull();
+  }
+
+  @Test
+  public void testGrpc_emptyHeader() {
+    grpcClient.echo(EchoRequest.newBuilder().setHeader("").build());
+    String headerValue = grpcInterceptor.metadata.get(REQUEST_PARAMS_HEADER_KEY);
+    assertThat(headerValue).isNull();
+  }
+
+  @Test
+  public void testHttpJson_emptyHeader() {
+    httpJsonClient.echo(EchoRequest.newBuilder().setHeader("").build());
+    String headerValue = httpJsonInterceptor.requestParam;
+    assertThat(headerValue).isNull();
+  }
+
+  @Test
+  public void testGrpc_matchesHeaderName() {
+    grpcClient.echo(EchoRequest.newBuilder().setHeader("potato").build());
+    String headerValue = grpcInterceptor.metadata.get(REQUEST_PARAMS_HEADER_KEY);
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders = ImmutableList.of("header=potato", "routing_id=potato");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+
+  @Test
+  public void testHttpJson_matchesHeaderName() {
+    httpJsonClient.echo(EchoRequest.newBuilder().setHeader("potato").build());
+    String headerValue = httpJsonInterceptor.requestParam;
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders = ImmutableList.of("header=potato", "routing_id=potato");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+
+  @Test
+  public void testGrpc_matchesOtherHeaderName() {
+    grpcClient.echo(EchoRequest.newBuilder().setOtherHeader("instances/456").build());
+    String headerValue = grpcInterceptor.metadata.get(REQUEST_PARAMS_HEADER_KEY);
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders = ImmutableList.of("baz=instances%2F456");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+
+  @Test
+  public void testHttpJson_matchesOtherHeaderName() {
+    httpJsonClient.echo(EchoRequest.newBuilder().setOtherHeader("instances/456").build());
+    String headerValue = httpJsonInterceptor.requestParam;
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders = ImmutableList.of("baz=instances%2F456");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+
+  @Test
+  public void testGrpc_matchesMultipleOfSameRoutingHeader_usesHeader() {
+    grpcClient.echo(EchoRequest.newBuilder().setHeader("projects/123/instances/456").build());
+    String headerValue = grpcInterceptor.metadata.get(REQUEST_PARAMS_HEADER_KEY);
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders =
+        ImmutableList.of(
+            "header=projects%2F123%2Finstances%2F456",
+            "routing_id=projects%2F123%2Finstances%2F456",
+            "super_id=projects%2F123",
+            "table_name=projects%2F123%2Finstances%2F456",
+            "instance_id=instances%2F456");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+
+  @Test
+  public void testHttpJson_matchesMultipleOfSameRoutingHeader_usesHeader() {
+    httpJsonClient.echo(EchoRequest.newBuilder().setHeader("projects/123/instances/456").build());
+    String headerValue = httpJsonInterceptor.requestParam;
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders =
+        ImmutableList.of(
+            "header=projects%2F123%2Finstances%2F456",
+            "routing_id=projects%2F123%2Finstances%2F456",
+            "super_id=projects%2F123",
+            "table_name=projects%2F123%2Finstances%2F456",
+            "instance_id=instances%2F456");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders).inOrder();
+  }
+
+  @Test
+  public void testGrpc_matchesMultipleOfSameRoutingHeader_usesOtherHeader() {
+    grpcClient.echo(EchoRequest.newBuilder().setOtherHeader("projects/123/instances/456").build());
+    String headerValue = grpcInterceptor.metadata.get(REQUEST_PARAMS_HEADER_KEY);
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders =
+        ImmutableList.of("baz=projects%2F123%2Finstances%2F456", "qux=projects%2F123");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+
+  @Test
+  public void testHttpJson_matchesMultipleOfSameRoutingHeader_usesOtherHeader() {
+    httpJsonClient.echo(
+        EchoRequest.newBuilder().setOtherHeader("projects/123/instances/456").build());
+    String headerValue = httpJsonInterceptor.requestParam;
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders =
+        ImmutableList.of("baz=projects%2F123%2Finstances%2F456", "qux=projects%2F123");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+
+  @Test
+  public void testGrpc_matchesMultipleRoutingHeaders() {
+    grpcClient.echo(
+        EchoRequest.newBuilder()
+            .setHeader("regions/123/zones/456")
+            .setOtherHeader("projects/123/instances/456")
+            .build());
+    String headerValue = grpcInterceptor.metadata.get(REQUEST_PARAMS_HEADER_KEY);
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders =
+        ImmutableList.of(
+            "baz=projects%2F123%2Finstances%2F456",
+            "qux=projects%2F123",
+            "table_name=regions%2F123%2Fzones%2F456",
+            "header=regions%2F123%2Fzones%2F456",
+            "routing_id=regions%2F123%2Fzones%2F456");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+
+  @Test
+  public void testHttpJson_matchesMultipleRoutingHeaders() {
+    httpJsonClient.echo(
+        EchoRequest.newBuilder()
+            .setHeader("regions/123/zones/456")
+            .setOtherHeader("projects/123/instances/456")
+            .build());
+    String headerValue = httpJsonInterceptor.requestParam;
+    assertThat(headerValue).isNotNull();
+    List requestHeaders =
+        Arrays.stream(headerValue.split(SPLIT_TOKEN)).collect(Collectors.toList());
+    List expectedHeaders =
+        ImmutableList.of(
+            "baz=projects%2F123%2Finstances%2F456",
+            "qux=projects%2F123",
+            "table_name=regions%2F123%2Fzones%2F456",
+            "header=regions%2F123%2Fzones%2F456",
+            "routing_id=regions%2F123%2Fzones%2F456");
+    assertThat(requestHeaders).containsExactlyElementsIn(expectedHeaders);
+  }
+}
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITHttpAnnotation.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITHttpAnnotation.java
index 79431fbc68..d81b142918 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITHttpAnnotation.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITHttpAnnotation.java
@@ -28,16 +28,19 @@
 import com.google.showcase.v1beta1.ComplianceSuite;
 import com.google.showcase.v1beta1.RepeatRequest;
 import com.google.showcase.v1beta1.RepeatResponse;
+import com.google.showcase.v1beta1.it.util.TestClientInitializer;
 import java.io.IOException;
 import java.io.InputStreamReader;
 import java.security.GeneralSecurityException;
 import java.util.List;
 import java.util.Map;
+import java.util.Objects;
 import java.util.Optional;
+import java.util.concurrent.TimeUnit;
 import java.util.function.Function;
 import java.util.stream.Collectors;
-import org.junit.After;
-import org.junit.Before;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
@@ -62,19 +65,20 @@ public static String[] data() {
   @Parameterized.Parameter(0)
   public String groupName;
 
-  private ComplianceSuite complianceSuite;
-  private ComplianceClient complianceClient;
-  private Map> validComplianceRpcMap;
+  private static ComplianceClient httpjsonClient;
+  private static ComplianceSuite complianceSuite;
+  private static Map> validComplianceRpcMap;
 
-  @Before
-  public void createClient() throws IOException, GeneralSecurityException {
+  @BeforeClass
+  public static void createClients() throws IOException, GeneralSecurityException {
     ComplianceSuite.Builder builder = ComplianceSuite.newBuilder();
     JsonFormat.parser()
         .merge(
             new InputStreamReader(
-                ITHttpAnnotation.class
-                    .getClassLoader()
-                    .getResourceAsStream("compliance_suite.json")),
+                Objects.requireNonNull(
+                    ITHttpAnnotation.class
+                        .getClassLoader()
+                        .getResourceAsStream("compliance_suite.json"))),
             builder);
     complianceSuite = builder.build();
 
@@ -88,30 +92,32 @@ public void createClient() throws IOException, GeneralSecurityException {
                     .setEndpoint("http://localhost:7469")
                     .build())
             .build();
-    complianceClient = ComplianceClient.create(httpjsonComplianceSettings);
+    httpjsonClient = ComplianceClient.create(httpjsonComplianceSettings);
 
     // Mapping of Compliance Suite file RPC Names to ComplianceClient methods
     validComplianceRpcMap =
         ImmutableMap.of(
             "Compliance.RepeatDataBody",
-            complianceClient::repeatDataBody,
+            httpjsonClient::repeatDataBody,
             "Compliance.RepeatDataBodyInfo",
-            complianceClient::repeatDataBodyInfo,
+            httpjsonClient::repeatDataBodyInfo,
             "Compliance.RepeatDataQuery",
-            complianceClient::repeatDataQuery,
+            httpjsonClient::repeatDataQuery,
             "Compliance.RepeatDataSimplePath",
-            complianceClient::repeatDataSimplePath,
+            httpjsonClient::repeatDataSimplePath,
             "Compliance.RepeatDataBodyPut",
-            complianceClient::repeatDataBodyPut,
+            httpjsonClient::repeatDataBodyPut,
             "Compliance.RepeatDataBodyPatch",
-            complianceClient::repeatDataBodyPatch,
+            httpjsonClient::repeatDataBodyPatch,
             "Compliance.RepeatDataPathResource",
-            complianceClient::repeatDataPathResource);
+            httpjsonClient::repeatDataPathResource);
   }
 
-  @After
-  public void destroyClient() {
-    complianceClient.close();
+  @AfterClass
+  public static void destroyClients() throws InterruptedException {
+    httpjsonClient.close();
+    httpjsonClient.awaitTermination(
+        TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
   }
 
   // Verify that the input's info is the same as the response's info
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITLongRunningOperation.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITLongRunningOperation.java
index 09dae05afc..5f1e29963d 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITLongRunningOperation.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITLongRunningOperation.java
@@ -27,6 +27,7 @@
 import com.google.showcase.v1beta1.WaitResponse;
 import com.google.showcase.v1beta1.it.util.TestClientInitializer;
 import java.util.concurrent.CancellationException;
+import java.util.concurrent.TimeUnit;
 import org.junit.Test;
 import org.threeten.bp.Duration;
 import org.threeten.bp.Instant;
@@ -52,14 +53,12 @@ public void testGRPC_LROSuccessfulResponse_doesNotExceedTotalTimeout() throws Ex
             .setInitialRetryDelay(Duration.ofMillis(3000L))
             .setRetryDelayMultiplier(2.0)
             .setMaxRetryDelay(Duration.ofMillis(5000L))
-            .setInitialRpcTimeout(Duration.ZERO)
-            .setRpcTimeoutMultiplier(1.0)
-            .setMaxRpcTimeout(Duration.ZERO)
             .setTotalTimeout(Duration.ofMillis(10000L))
             .build();
-    try (EchoClient grpcClient =
+    EchoClient grpcClient =
         TestClientInitializer.createGrpcEchoClientCustomWaitSettings(
-            initialUnaryRetrySettings, pollingRetrySettings)) {
+            initialUnaryRetrySettings, pollingRetrySettings);
+    try {
       long epochSecondsInFuture = Instant.now().plus(5, ChronoUnit.SECONDS).getEpochSecond();
       WaitRequest waitRequest =
           WaitRequest.newBuilder()
@@ -72,6 +71,10 @@ public void testGRPC_LROSuccessfulResponse_doesNotExceedTotalTimeout() throws Ex
       assertThat(waitResponse.getContent()).isEqualTo("gRPCWaitContent_5sDelay_noRetry");
       int attemptCount = operationFuture.getPollingFuture().getAttemptSettings().getAttemptCount();
       assertThat(attemptCount).isAtLeast(2);
+    } finally {
+      grpcClient.close();
+      grpcClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -89,14 +92,12 @@ public void testHttpJson_LROSuccessfulResponse_doesNotExceedTotalTimeout() throw
             .setInitialRetryDelay(Duration.ofMillis(3000L))
             .setRetryDelayMultiplier(2.0)
             .setMaxRetryDelay(Duration.ofMillis(5000L))
-            .setInitialRpcTimeout(Duration.ZERO)
-            .setRpcTimeoutMultiplier(1.0)
-            .setMaxRpcTimeout(Duration.ZERO)
             .setTotalTimeout(Duration.ofMillis(10000L))
             .build();
-    try (EchoClient httpJsonClient =
+    EchoClient httpjsonClient =
         TestClientInitializer.createHttpJsonEchoClientCustomWaitSettings(
-            initialUnaryRetrySettings, pollingRetrySettings)) {
+            initialUnaryRetrySettings, pollingRetrySettings);
+    try {
       long epochSecondsInFuture = Instant.now().plus(5, ChronoUnit.SECONDS).getEpochSecond();
       WaitRequest waitRequest =
           WaitRequest.newBuilder()
@@ -105,11 +106,15 @@ public void testHttpJson_LROSuccessfulResponse_doesNotExceedTotalTimeout() throw
               .setEndTime(Timestamp.newBuilder().setSeconds(epochSecondsInFuture).build())
               .build();
       OperationFuture operationFuture =
-          httpJsonClient.waitOperationCallable().futureCall(waitRequest);
+          httpjsonClient.waitOperationCallable().futureCall(waitRequest);
       WaitResponse waitResponse = operationFuture.get();
       assertThat(waitResponse.getContent()).isEqualTo("httpjsonWaitContent_5sDelay_noRetry");
       int attemptCount = operationFuture.getPollingFuture().getAttemptSettings().getAttemptCount();
       assertThat(attemptCount).isAtLeast(2);
+    } finally {
+      httpjsonClient.close();
+      httpjsonClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -118,35 +123,36 @@ public void testGRPC_LROUnsuccessfulResponse_exceedsTotalTimeout_throwsDeadlineE
       throws Exception {
     RetrySettings initialUnaryRetrySettings =
         RetrySettings.newBuilder()
-            .setInitialRpcTimeout(Duration.ofMillis(2000L))
+            .setInitialRpcTimeout(Duration.ofMillis(5000L))
             .setRpcTimeoutMultiplier(1.0)
-            .setMaxRpcTimeout(Duration.ofMillis(2000L))
-            .setTotalTimeout(Duration.ofMillis(2000L))
+            .setMaxRpcTimeout(Duration.ofMillis(5000L))
+            .setTotalTimeout(Duration.ofMillis(5000L))
             .build();
     RetrySettings pollingRetrySettings =
         RetrySettings.newBuilder()
             .setInitialRetryDelay(Duration.ofMillis(1000L))
             .setRetryDelayMultiplier(2.0)
             .setMaxRetryDelay(Duration.ofMillis(3000L))
-            .setInitialRpcTimeout(Duration.ZERO)
-            .setRpcTimeoutMultiplier(1.0)
-            .setMaxRpcTimeout(Duration.ZERO)
             .setTotalTimeout(Duration.ofMillis(5000L))
             .build();
-    try (EchoClient grpcClient =
+    EchoClient grpcClient =
         TestClientInitializer.createGrpcEchoClientCustomWaitSettings(
-            initialUnaryRetrySettings, pollingRetrySettings)) {
-      long epochSecondsInFuture = Instant.now().plus(6, ChronoUnit.SECONDS).getEpochSecond();
+            initialUnaryRetrySettings, pollingRetrySettings);
+    try {
       WaitRequest waitRequest =
           WaitRequest.newBuilder()
-              .setSuccess(WaitResponse.newBuilder().setContent("gRPCWaitContent_6sDelay"))
-              .setEndTime(Timestamp.newBuilder().setSeconds(epochSecondsInFuture).build())
+              .setSuccess(WaitResponse.newBuilder().setContent("httpjsonWaitContent_10sDelay"))
+              .setTtl(com.google.protobuf.Duration.newBuilder().setSeconds(10))
               .build();
       OperationFuture operationFuture =
           grpcClient.waitOperationCallable().futureCall(waitRequest);
       assertThrows(CancellationException.class, operationFuture::get);
       int attemptCount = operationFuture.getPollingFuture().getAttemptSettings().getAttemptCount();
       assertThat(attemptCount).isGreaterThan(1);
+    } finally {
+      grpcClient.close();
+      grpcClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -156,35 +162,36 @@ public void testGRPC_LROUnsuccessfulResponse_exceedsTotalTimeout_throwsDeadlineE
           throws Exception {
     RetrySettings initialUnaryRetrySettings =
         RetrySettings.newBuilder()
-            .setInitialRpcTimeout(Duration.ofMillis(2000L))
+            .setInitialRpcTimeout(Duration.ofMillis(5000L))
             .setRpcTimeoutMultiplier(1.0)
-            .setMaxRpcTimeout(Duration.ofMillis(2000L))
-            .setTotalTimeout(Duration.ofMillis(2000L))
+            .setMaxRpcTimeout(Duration.ofMillis(5000L))
+            .setTotalTimeout(Duration.ofMillis(5000L))
             .build();
     RetrySettings pollingRetrySettings =
         RetrySettings.newBuilder()
             .setInitialRetryDelay(Duration.ofMillis(1000L))
             .setRetryDelayMultiplier(2.0)
             .setMaxRetryDelay(Duration.ofMillis(3000L))
-            .setInitialRpcTimeout(Duration.ZERO)
-            .setRpcTimeoutMultiplier(1.0)
-            .setMaxRpcTimeout(Duration.ZERO)
             .setTotalTimeout(Duration.ofMillis(5000L))
             .build();
-    try (EchoClient httpJsonClient =
+    EchoClient httpjsonClient =
         TestClientInitializer.createHttpJsonEchoClientCustomWaitSettings(
-            initialUnaryRetrySettings, pollingRetrySettings)) {
-      long epochSecondsInFuture = Instant.now().plus(6, ChronoUnit.SECONDS).getEpochSecond();
+            initialUnaryRetrySettings, pollingRetrySettings);
+    try {
       WaitRequest waitRequest =
           WaitRequest.newBuilder()
-              .setSuccess(WaitResponse.newBuilder().setContent("httpjsonWaitContent_6sDelay"))
-              .setEndTime(Timestamp.newBuilder().setSeconds(epochSecondsInFuture).build())
+              .setSuccess(WaitResponse.newBuilder().setContent("httpjsonWaitContent_10sDelay"))
+              .setTtl(com.google.protobuf.Duration.newBuilder().setSeconds(10))
               .build();
       OperationFuture operationFuture =
-          httpJsonClient.waitOperationCallable().futureCall(waitRequest);
+          httpjsonClient.waitOperationCallable().futureCall(waitRequest);
       assertThrows(CancellationException.class, operationFuture::get);
       int attemptCount = operationFuture.getPollingFuture().getAttemptSettings().getAttemptCount();
       assertThat(attemptCount).isGreaterThan(1);
+    } finally {
+      httpjsonClient.close();
+      httpjsonClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 }
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITNumericEnums.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITNumericEnums.java
index 232c3392d2..2b921b421b 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITNumericEnums.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITNumericEnums.java
@@ -24,18 +24,20 @@
 import com.google.showcase.v1beta1.ComplianceSettings;
 import com.google.showcase.v1beta1.EnumRequest;
 import com.google.showcase.v1beta1.EnumResponse;
+import com.google.showcase.v1beta1.it.util.TestClientInitializer;
 import java.io.IOException;
 import java.security.GeneralSecurityException;
-import org.junit.After;
-import org.junit.Before;
+import java.util.concurrent.TimeUnit;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
 import org.junit.Test;
 
 public class ITNumericEnums {
 
-  private ComplianceClient client;
+  private static ComplianceClient httpjsonClient;
 
-  @Before
-  public void createClient() throws GeneralSecurityException, IOException {
+  @BeforeClass
+  public static void createClients() throws GeneralSecurityException, IOException {
     ComplianceSettings complianceSettings =
         ComplianceSettings.newHttpJsonBuilder()
             .setCredentialsProvider(NoCredentialsProvider.create())
@@ -46,18 +48,20 @@ public void createClient() throws GeneralSecurityException, IOException {
                     .setEndpoint("http://localhost:7469")
                     .build())
             .build();
-    client = ComplianceClient.create(complianceSettings);
+    httpjsonClient = ComplianceClient.create(complianceSettings);
   }
 
-  @After
-  public void destroyClient() {
-    client.close();
+  @AfterClass
+  public static void destroyClients() throws InterruptedException {
+    httpjsonClient.close();
+    httpjsonClient.awaitTermination(
+        TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
   }
 
   @Test
   public void verifyEnums() {
     EnumRequest request = EnumRequest.newBuilder().setUnknownEnum(true).build();
-    EnumResponse initialResponse = client.getEnum(request);
-    assertEquals(initialResponse, client.verifyEnum(initialResponse));
+    EnumResponse initialResponse = httpjsonClient.getEnum(request);
+    assertEquals(initialResponse, httpjsonClient.verifyEnum(initialResponse));
   }
 }
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITServerSideStreaming.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITServerSideStreaming.java
index da78f07afa..a52acfcfcf 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITServerSideStreaming.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITServerSideStreaming.java
@@ -34,31 +34,36 @@
 import io.grpc.ManagedChannelBuilder;
 import java.util.ArrayList;
 import java.util.Iterator;
+import java.util.concurrent.TimeUnit;
 import java.util.stream.Collectors;
-import org.junit.After;
+import org.junit.AfterClass;
 import org.junit.Assert;
-import org.junit.Before;
+import org.junit.BeforeClass;
 import org.junit.Ignore;
 import org.junit.Test;
 import org.threeten.bp.Duration;
 
 public class ITServerSideStreaming {
 
-  private EchoClient grpcClient;
-  private EchoClient httpjsonClient;
+  private static EchoClient grpcClient;
+  private static EchoClient httpjsonClient;
 
-  @Before
-  public void createClients() throws Exception {
+  @BeforeClass
+  public static void createClients() throws Exception {
     // Create gRPC Echo Client
     grpcClient = TestClientInitializer.createGrpcEchoClient();
     // Create Http JSON Echo Client
     httpjsonClient = TestClientInitializer.createHttpJsonEchoClient();
   }
 
-  @After
-  public void destroyClient() {
+  @AfterClass
+  public static void destroyClients() throws InterruptedException {
     grpcClient.close();
     httpjsonClient.close();
+
+    grpcClient.awaitTermination(TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
+    httpjsonClient.awaitTermination(
+        TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
   }
 
   @Test
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITUnaryCallable.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITUnaryCallable.java
index 52bfddc408..6c0e860fee 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITUnaryCallable.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITUnaryCallable.java
@@ -27,28 +27,33 @@
 import com.google.showcase.v1beta1.EchoRequest;
 import com.google.showcase.v1beta1.EchoResponse;
 import com.google.showcase.v1beta1.it.util.TestClientInitializer;
-import org.junit.After;
-import org.junit.Before;
+import java.util.concurrent.TimeUnit;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
 import org.junit.Test;
 
 public class ITUnaryCallable {
 
-  private EchoClient grpcClient;
+  private static EchoClient grpcClient;
 
-  private EchoClient httpJsonClient;
+  private static EchoClient httpjsonClient;
 
-  @Before
-  public void createClients() throws Exception {
+  @BeforeClass
+  public static void createClients() throws Exception {
     // Create gRPC Echo Client
     grpcClient = TestClientInitializer.createGrpcEchoClient();
     // Create Http JSON Echo Client
-    httpJsonClient = TestClientInitializer.createHttpJsonEchoClient();
+    httpjsonClient = TestClientInitializer.createHttpJsonEchoClient();
   }
 
-  @After
-  public void destroyClient() {
+  @AfterClass
+  public static void destroyClients() throws InterruptedException {
     grpcClient.close();
-    httpJsonClient.close();
+    httpjsonClient.close();
+
+    grpcClient.awaitTermination(TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
+    httpjsonClient.awaitTermination(
+        TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
   }
 
   @Test
@@ -67,13 +72,6 @@ public void testGrpc_serverResponseError_throwsException() {
     assertThat(exception.getStatusCode().getCode()).isEqualTo(GrpcStatusCode.Code.CANCELLED);
   }
 
-  @Test
-  public void testGrpc_shutdown() {
-    assertThat(grpcClient.isShutdown()).isFalse();
-    grpcClient.shutdown();
-    assertThat(grpcClient.isShutdown()).isTrue();
-  }
-
   @Test
   public void testHttpJson_receiveContent() {
     assertThat(echoHttpJson("http-echo?")).isEqualTo("http-echo?");
@@ -87,24 +85,17 @@ public void testHttpJson_serverResponseError_throwsException() {
             .setError(Status.newBuilder().setCode(StatusCode.Code.CANCELLED.ordinal()).build())
             .build();
     CancelledException exception =
-        assertThrows(CancelledException.class, () -> httpJsonClient.echo(requestWithServerError));
+        assertThrows(CancelledException.class, () -> httpjsonClient.echo(requestWithServerError));
     assertThat(exception.getStatusCode().getCode()).isEqualTo(StatusCode.Code.CANCELLED);
   }
 
-  @Test
-  public void testHttpJson_shutdown() {
-    assertThat(httpJsonClient.isShutdown()).isFalse();
-    httpJsonClient.shutdown();
-    assertThat(httpJsonClient.isShutdown()).isTrue();
-  }
-
   private String echoGrpc(String value) {
     EchoResponse response = grpcClient.echo(EchoRequest.newBuilder().setContent(value).build());
     return response.getContent();
   }
 
   private String echoHttpJson(String value) {
-    EchoResponse response = httpJsonClient.echo(EchoRequest.newBuilder().setContent(value).build());
+    EchoResponse response = httpjsonClient.echo(EchoRequest.newBuilder().setContent(value).build());
     return response.getContent();
   }
 }
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITUnaryDeadline.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITUnaryDeadline.java
index 1f7e99a372..d7d12a4ad5 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITUnaryDeadline.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITUnaryDeadline.java
@@ -52,9 +52,10 @@ public void testGRPC_unarySuccessfulResponse_doesNotExceedTotalTimeout() throws
             // Explicitly set retries as disabled (maxAttempts == 1)
             .setMaxAttempts(1)
             .build();
-    try (EchoClient grpcClient =
+    EchoClient grpcClient =
         TestClientInitializer.createGrpcEchoClientCustomBlockSettings(
-            defaultNoRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED))) {
+            defaultNoRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED));
+    try {
       BlockRequest blockRequest =
           BlockRequest.newBuilder()
               .setSuccess(BlockResponse.newBuilder().setContent("gRPCBlockContent_3sDelay_noRetry"))
@@ -67,6 +68,10 @@ public void testGRPC_unarySuccessfulResponse_doesNotExceedTotalTimeout() throws
       // Guarantee that this only runs once
       int attemptCount = retryingFuture.getAttemptSettings().getAttemptCount() + 1;
       assertThat(attemptCount).isEqualTo(1);
+    } finally {
+      grpcClient.close();
+      grpcClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -81,9 +86,10 @@ public void testHttpJson_unarySuccessfulResponse_doesNotExceedTotalTimeout() thr
             // Explicitly set retries as disabled (maxAttempts == 1)
             .setMaxAttempts(1)
             .build();
-    try (EchoClient httpJsonClient =
+    EchoClient httpjsonClient =
         TestClientInitializer.createHttpJsonEchoClientCustomBlockSettings(
-            defaultNoRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED))) {
+            defaultNoRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED));
+    try {
       BlockRequest blockRequest =
           BlockRequest.newBuilder()
               .setSuccess(
@@ -91,12 +97,16 @@ public void testHttpJson_unarySuccessfulResponse_doesNotExceedTotalTimeout() thr
               .setResponseDelay(com.google.protobuf.Duration.newBuilder().setSeconds(3).build())
               .build();
       RetryingFuture retryingFuture =
-          (RetryingFuture) httpJsonClient.blockCallable().futureCall(blockRequest);
+          (RetryingFuture) httpjsonClient.blockCallable().futureCall(blockRequest);
       BlockResponse blockResponse = retryingFuture.get(10, TimeUnit.SECONDS);
       assertThat(blockResponse.getContent()).isEqualTo("httpjsonBlockContent_3sDelay_noRetry");
       // Guarantee that this only runs once
       int attemptCount = retryingFuture.getAttemptSettings().getAttemptCount() + 1;
       assertThat(attemptCount).isEqualTo(1);
+    } finally {
+      httpjsonClient.close();
+      httpjsonClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -112,9 +122,10 @@ public void testGRPC_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTotalTim
             .setMaxRpcTimeout(Duration.ofMillis(3000L))
             .setTotalTimeout(Duration.ofMillis(5000L))
             .build();
-    try (EchoClient grpcClient =
+    EchoClient grpcClient =
         TestClientInitializer.createGrpcEchoClientCustomBlockSettings(
-            defaultRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED))) {
+            defaultRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED));
+    try {
       BlockRequest blockRequest =
           BlockRequest.newBuilder()
               .setSuccess(BlockResponse.newBuilder().setContent("gRPCBlockContent_2sDelay_Retry"))
@@ -127,6 +138,10 @@ public void testGRPC_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTotalTim
       // Guarantee that this only runs twice
       int attemptCount = retryingFuture.getAttemptSettings().getAttemptCount() + 1;
       assertThat(attemptCount).isEqualTo(2);
+    } finally {
+      grpcClient.close();
+      grpcClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -142,9 +157,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
             .setMaxRpcTimeout(Duration.ofMillis(3000L))
             .setTotalTimeout(Duration.ofMillis(5000L))
             .build();
-    try (EchoClient httpJsonClient =
+    EchoClient httpjsonClient =
         TestClientInitializer.createHttpJsonEchoClientCustomBlockSettings(
-            defaultRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED))) {
+            defaultRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED));
+    try {
       BlockRequest blockRequest =
           BlockRequest.newBuilder()
               .setSuccess(
@@ -152,12 +168,16 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
               .setResponseDelay(com.google.protobuf.Duration.newBuilder().setSeconds(2).build())
               .build();
       RetryingFuture retryingFuture =
-          (RetryingFuture) httpJsonClient.blockCallable().futureCall(blockRequest);
+          (RetryingFuture) httpjsonClient.blockCallable().futureCall(blockRequest);
       BlockResponse blockResponse = retryingFuture.get(10, TimeUnit.SECONDS);
       assertThat(blockResponse.getContent()).isEqualTo("httpjsonBlockContent_2sDelay_Retry");
       // Guarantee that this only runs twice
       int attemptCount = retryingFuture.getAttemptSettings().getAttemptCount() + 1;
       assertThat(attemptCount).isEqualTo(2);
+    } finally {
+      httpjsonClient.close();
+      httpjsonClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -176,9 +196,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
             // Explicitly set retries as disabled (maxAttempts == 1)
             .setMaxAttempts(1)
             .build();
-    try (EchoClient grpcClient =
+    EchoClient grpcClient =
         TestClientInitializer.createGrpcEchoClientCustomBlockSettings(
-            defaultNoRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED))) {
+            defaultNoRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED));
+    try {
       BlockRequest blockRequest =
           BlockRequest.newBuilder()
               .setSuccess(BlockResponse.newBuilder().setContent("gRPCBlockContent_6sDelay_noRetry"))
@@ -196,6 +217,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
       // We can guarantee that this only runs once
       int attemptCount = retryingFuture.getAttemptSettings().getAttemptCount() + 1;
       assertThat(attemptCount).isEqualTo(1);
+    } finally {
+      grpcClient.close();
+      grpcClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -214,9 +239,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
             // Explicitly set retries as disabled (maxAttempts == 1)
             .setMaxAttempts(1)
             .build();
-    try (EchoClient httpJsonClient =
+    EchoClient httpjsonClient =
         TestClientInitializer.createHttpJsonEchoClientCustomBlockSettings(
-            defaultNoRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED))) {
+            defaultNoRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED));
+    try {
       BlockRequest blockRequest =
           BlockRequest.newBuilder()
               .setSuccess(
@@ -224,7 +250,7 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
               .setResponseDelay(com.google.protobuf.Duration.newBuilder().setSeconds(6).build())
               .build();
       RetryingFuture retryingFuture =
-          (RetryingFuture) httpJsonClient.blockCallable().futureCall(blockRequest);
+          (RetryingFuture) httpjsonClient.blockCallable().futureCall(blockRequest);
       ExecutionException exception =
           assertThrows(ExecutionException.class, () -> retryingFuture.get(10, TimeUnit.SECONDS));
       assertThat(exception.getCause()).isInstanceOf(DeadlineExceededException.class);
@@ -235,6 +261,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
       // We can guarantee that this only runs once
       int attemptCount = retryingFuture.getAttemptSettings().getAttemptCount() + 1;
       assertThat(attemptCount).isEqualTo(1);
+    } finally {
+      httpjsonClient.close();
+      httpjsonClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -254,9 +284,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
             .setMaxRpcTimeout(Duration.ofMillis(100L))
             .setTotalTimeout(Duration.ofMillis(1000L))
             .build();
-    try (EchoClient grpcClient =
+    EchoClient grpcClient =
         TestClientInitializer.createGrpcEchoClientCustomBlockSettings(
-            defaultRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED))) {
+            defaultRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED));
+    try {
       BlockRequest blockRequest =
           BlockRequest.newBuilder()
               .setSuccess(
@@ -280,6 +311,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
       int attemptCount = retryingFuture.getAttemptSettings().getAttemptCount() + 1;
       assertThat(attemptCount).isGreaterThan(5);
       assertThat(attemptCount).isAtMost(10);
+    } finally {
+      grpcClient.close();
+      grpcClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 
@@ -299,9 +334,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
             .setMaxRpcTimeout(Duration.ofMillis(100L))
             .setTotalTimeout(Duration.ofMillis(10000L))
             .build();
-    try (EchoClient httpJsonClient =
+    EchoClient httpjsonClient =
         TestClientInitializer.createHttpJsonEchoClientCustomBlockSettings(
-            defaultRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED))) {
+            defaultRetrySettings, ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED));
+    try {
       BlockRequest blockRequest =
           BlockRequest.newBuilder()
               .setSuccess(
@@ -311,7 +347,7 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
                   com.google.protobuf.Duration.newBuilder().setNanos(200000000).build())
               .build();
       RetryingFuture retryingFuture =
-          (RetryingFuture) httpJsonClient.blockCallable().futureCall(blockRequest);
+          (RetryingFuture) httpjsonClient.blockCallable().futureCall(blockRequest);
       ExecutionException exception =
           assertThrows(ExecutionException.class, () -> retryingFuture.get(15, TimeUnit.SECONDS));
       assertThat(exception.getCause()).isInstanceOf(DeadlineExceededException.class);
@@ -325,6 +361,10 @@ public void testHttpJson_unarySuccessfulResponse_exceedsRPCDeadlineButWithinTota
       int attemptCount = retryingFuture.getAttemptSettings().getAttemptCount() + 1;
       assertThat(attemptCount).isGreaterThan(80);
       assertThat(attemptCount).isAtMost(100);
+    } finally {
+      httpjsonClient.close();
+      httpjsonClient.awaitTermination(
+          TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
     }
   }
 }
diff --git a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/util/TestClientInitializer.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/util/TestClientInitializer.java
index 4c1b7b00d2..fe8566bd2f 100644
--- a/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/util/TestClientInitializer.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/util/TestClientInitializer.java
@@ -18,35 +18,52 @@
 
 import com.google.api.client.http.javanet.NetHttpTransport;
 import com.google.api.gax.core.NoCredentialsProvider;
+import com.google.api.gax.httpjson.HttpJsonClientInterceptor;
 import com.google.api.gax.longrunning.OperationSnapshot;
 import com.google.api.gax.longrunning.OperationTimedPollAlgorithm;
 import com.google.api.gax.retrying.RetrySettings;
 import com.google.api.gax.rpc.StatusCode;
 import com.google.api.gax.rpc.UnaryCallSettings;
+import com.google.common.collect.ImmutableList;
 import com.google.showcase.v1beta1.EchoClient;
 import com.google.showcase.v1beta1.EchoSettings;
 import com.google.showcase.v1beta1.IdentityClient;
 import com.google.showcase.v1beta1.IdentitySettings;
 import com.google.showcase.v1beta1.WaitRequest;
 import com.google.showcase.v1beta1.stub.EchoStubSettings;
+import io.grpc.ClientInterceptor;
 import io.grpc.ManagedChannelBuilder;
+import java.util.List;
 import java.util.Set;
 
 public class TestClientInitializer {
 
+  public static final int AWAIT_TERMINATION_SECONDS = 10;
+
   public static EchoClient createGrpcEchoClient() throws Exception {
+    return createGrpcEchoClient(ImmutableList.of());
+  }
+
+  public static EchoClient createGrpcEchoClient(List interceptorList)
+      throws Exception {
     EchoSettings grpcEchoSettings =
         EchoSettings.newBuilder()
             .setCredentialsProvider(NoCredentialsProvider.create())
             .setTransportChannelProvider(
                 EchoSettings.defaultGrpcTransportProviderBuilder()
                     .setChannelConfigurator(ManagedChannelBuilder::usePlaintext)
+                    .setInterceptorProvider(() -> interceptorList)
                     .build())
             .build();
     return EchoClient.create(grpcEchoSettings);
   }
 
   public static EchoClient createHttpJsonEchoClient() throws Exception {
+    return createHttpJsonEchoClient(ImmutableList.of());
+  }
+
+  public static EchoClient createHttpJsonEchoClient(List interceptorList)
+      throws Exception {
     EchoSettings httpJsonEchoSettings =
         EchoSettings.newHttpJsonBuilder()
             .setCredentialsProvider(NoCredentialsProvider.create())
@@ -55,6 +72,7 @@ public static EchoClient createHttpJsonEchoClient() throws Exception {
                     .setHttpTransport(
                         new NetHttpTransport.Builder().doNotValidateCertificate().build())
                     .setEndpoint("http://localhost:7469")
+                    .setInterceptorProvider(() -> interceptorList)
                     .build())
             .build();
     return EchoClient.create(httpJsonEchoSettings);
diff --git a/showcase/pom.xml b/showcase/pom.xml
index 510686e2ff..1ba57178b0 100644
--- a/showcase/pom.xml
+++ b/showcase/pom.xml
@@ -15,7 +15,7 @@
   
     com.google.api
     gapic-generator-java-bom
-    2.20.1
+    2.21.0
     ../gapic-generator-java-bom
   
 
@@ -88,10 +88,6 @@
           
             org.apache.maven.plugins
             maven-failsafe-plugin
-            
-              1C
-              true
-            
           
           
             org.codehaus.mojo
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java
index d565a71b42..420908dec5 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java
@@ -26,11 +26,6 @@ protected java.lang.Object newInstance(
     return new AttemptSequenceRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_AttemptSequenceRequest_descriptor;
@@ -191,11 +186,13 @@ public static com.google.showcase.v1beta1.AttemptSequenceRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.AttemptSequenceRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.AttemptSequenceRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceRequest.java
index 41183edca6..ac8fd0a9c9 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceRequest.java
@@ -26,11 +26,6 @@ protected java.lang.Object newInstance(
     return new AttemptStreamingSequenceRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_AttemptStreamingSequenceRequest_descriptor;
@@ -191,11 +186,13 @@ public static com.google.showcase.v1beta1.AttemptStreamingSequenceRequest parseF
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.AttemptStreamingSequenceRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.AttemptStreamingSequenceRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceResponse.java
index d51a763763..b8f0298e91 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptStreamingSequenceResponse.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new AttemptStreamingSequenceResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_AttemptStreamingSequenceResponse_descriptor;
@@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.AttemptStreamingSequenceResponse parse
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.AttemptStreamingSequenceResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.AttemptStreamingSequenceResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequest.java
index 7cffb63983..2fea5ae2d2 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequest.java
@@ -29,11 +29,6 @@ protected java.lang.Object newInstance(
     return new BlockRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_BlockRequest_descriptor;
@@ -48,6 +43,7 @@ protected java.lang.Object newInstance(
   }
 
   private int responseCase_ = 0;
+  @SuppressWarnings("serial")
   private java.lang.Object response_;
   public enum ResponseCase
       implements com.google.protobuf.Internal.EnumLite,
@@ -368,11 +364,13 @@ public static com.google.showcase.v1beta1.BlockRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.BlockRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.BlockRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequestOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequestOrBuilder.java
index 81cce93799..99ad532a5a 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequestOrBuilder.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockRequestOrBuilder.java
@@ -91,5 +91,5 @@ public interface BlockRequestOrBuilder extends
    */
   com.google.showcase.v1beta1.BlockResponseOrBuilder getSuccessOrBuilder();
 
-  public com.google.showcase.v1beta1.BlockRequest.ResponseCase getResponseCase();
+  com.google.showcase.v1beta1.BlockRequest.ResponseCase getResponseCase();
 }
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockResponse.java
index ada08eb4fb..244f456974 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlockResponse.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new BlockResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_BlockResponse_descriptor;
@@ -205,11 +200,13 @@ public static com.google.showcase.v1beta1.BlockResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.BlockResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.BlockResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Blurb.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Blurb.java
index 2e76160603..b775dfa7a1 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Blurb.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Blurb.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new Blurb();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_Blurb_descriptor;
@@ -51,6 +46,7 @@ protected java.lang.Object newInstance(
   }
 
   private int contentCase_ = 0;
+  @SuppressWarnings("serial")
   private java.lang.Object content_;
   public enum ContentCase
       implements com.google.protobuf.Internal.EnumLite,
@@ -92,6 +88,7 @@ public int getNumber() {
   }
 
   private int legacyIdCase_ = 0;
+  @SuppressWarnings("serial")
   private java.lang.Object legacyId_;
   public enum LegacyIdCase
       implements com.google.protobuf.Internal.EnumLite,
@@ -762,11 +759,13 @@ public static com.google.showcase.v1beta1.Blurb parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.Blurb parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.Blurb parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbName.java
index 32f3ed2380..037397e4c8 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbName.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbOrBuilder.java
index 08af31258d..e98b776e42 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbOrBuilder.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/BlurbOrBuilder.java
@@ -219,7 +219,7 @@ public interface BlurbOrBuilder extends
   com.google.protobuf.ByteString
       getLegacyUserIdBytes();
 
-  public com.google.showcase.v1beta1.Blurb.ContentCase getContentCase();
+  com.google.showcase.v1beta1.Blurb.ContentCase getContentCase();
 
-  public com.google.showcase.v1beta1.Blurb.LegacyIdCase getLegacyIdCase();
+  com.google.showcase.v1beta1.Blurb.LegacyIdCase getLegacyIdCase();
 }
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceData.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceData.java
index 44e04e8ad0..c4f9d78caf 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceData.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceData.java
@@ -35,11 +35,6 @@ protected java.lang.Object newInstance(
     return new ComplianceData();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceData_descriptor;
@@ -994,11 +989,13 @@ public static com.google.showcase.v1beta1.ComplianceData parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ComplianceData parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ComplianceData parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1599,7 +1596,7 @@ public int getFInt32() {
      * @return This builder for chaining.
      */
     public Builder setFInt32(int value) {
-      
+
       fInt32_ = value;
       bitField0_ |= 0x00000002;
       onChanged();
@@ -1631,7 +1628,7 @@ public int getFSint32() {
      * @return This builder for chaining.
      */
     public Builder setFSint32(int value) {
-      
+
       fSint32_ = value;
       bitField0_ |= 0x00000004;
       onChanged();
@@ -1663,7 +1660,7 @@ public int getFSfixed32() {
      * @return This builder for chaining.
      */
     public Builder setFSfixed32(int value) {
-      
+
       fSfixed32_ = value;
       bitField0_ |= 0x00000008;
       onChanged();
@@ -1695,7 +1692,7 @@ public int getFUint32() {
      * @return This builder for chaining.
      */
     public Builder setFUint32(int value) {
-      
+
       fUint32_ = value;
       bitField0_ |= 0x00000010;
       onChanged();
@@ -1727,7 +1724,7 @@ public int getFFixed32() {
      * @return This builder for chaining.
      */
     public Builder setFFixed32(int value) {
-      
+
       fFixed32_ = value;
       bitField0_ |= 0x00000020;
       onChanged();
@@ -1759,7 +1756,7 @@ public long getFInt64() {
      * @return This builder for chaining.
      */
     public Builder setFInt64(long value) {
-      
+
       fInt64_ = value;
       bitField0_ |= 0x00000040;
       onChanged();
@@ -1791,7 +1788,7 @@ public long getFSint64() {
      * @return This builder for chaining.
      */
     public Builder setFSint64(long value) {
-      
+
       fSint64_ = value;
       bitField0_ |= 0x00000080;
       onChanged();
@@ -1823,7 +1820,7 @@ public long getFSfixed64() {
      * @return This builder for chaining.
      */
     public Builder setFSfixed64(long value) {
-      
+
       fSfixed64_ = value;
       bitField0_ |= 0x00000100;
       onChanged();
@@ -1855,7 +1852,7 @@ public long getFUint64() {
      * @return This builder for chaining.
      */
     public Builder setFUint64(long value) {
-      
+
       fUint64_ = value;
       bitField0_ |= 0x00000200;
       onChanged();
@@ -1887,7 +1884,7 @@ public long getFFixed64() {
      * @return This builder for chaining.
      */
     public Builder setFFixed64(long value) {
-      
+
       fFixed64_ = value;
       bitField0_ |= 0x00000400;
       onChanged();
@@ -1919,7 +1916,7 @@ public double getFDouble() {
      * @return This builder for chaining.
      */
     public Builder setFDouble(double value) {
-      
+
       fDouble_ = value;
       bitField0_ |= 0x00000800;
       onChanged();
@@ -1951,7 +1948,7 @@ public float getFFloat() {
      * @return This builder for chaining.
      */
     public Builder setFFloat(float value) {
-      
+
       fFloat_ = value;
       bitField0_ |= 0x00001000;
       onChanged();
@@ -1983,7 +1980,7 @@ public boolean getFBool() {
      * @return This builder for chaining.
      */
     public Builder setFBool(boolean value) {
-      
+
       fBool_ = value;
       bitField0_ |= 0x00002000;
       onChanged();
@@ -2306,7 +2303,7 @@ public int getPInt32() {
      * @return This builder for chaining.
      */
     public Builder setPInt32(int value) {
-      
+
       pInt32_ = value;
       bitField0_ |= 0x00040000;
       onChanged();
@@ -2346,7 +2343,7 @@ public double getPDouble() {
      * @return This builder for chaining.
      */
     public Builder setPDouble(double value) {
-      
+
       pDouble_ = value;
       bitField0_ |= 0x00080000;
       onChanged();
@@ -2386,7 +2383,7 @@ public boolean getPBool() {
      * @return This builder for chaining.
      */
     public Builder setPBool(boolean value) {
-      
+
       pBool_ = value;
       bitField0_ |= 0x00100000;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataChild.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataChild.java
index 4c7b7b1642..c1a4b7d265 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataChild.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataChild.java
@@ -29,11 +29,6 @@ protected java.lang.Object newInstance(
     return new ComplianceDataChild();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceDataChild_descriptor;
@@ -578,11 +573,13 @@ public static com.google.showcase.v1beta1.ComplianceDataChild parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ComplianceDataChild parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ComplianceDataChild parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1045,7 +1042,7 @@ public float getFFloat() {
      * @return This builder for chaining.
      */
     public Builder setFFloat(float value) {
-      
+
       fFloat_ = value;
       bitField0_ |= 0x00000002;
       onChanged();
@@ -1077,7 +1074,7 @@ public double getFDouble() {
      * @return This builder for chaining.
      */
     public Builder setFDouble(double value) {
-      
+
       fDouble_ = value;
       bitField0_ |= 0x00000004;
       onChanged();
@@ -1109,7 +1106,7 @@ public boolean getFBool() {
      * @return This builder for chaining.
      */
     public Builder setFBool(boolean value) {
-      
+
       fBool_ = value;
       bitField0_ |= 0x00000008;
       onChanged();
@@ -1400,7 +1397,7 @@ public float getPFloat() {
      * @return This builder for chaining.
      */
     public Builder setPFloat(float value) {
-      
+
       pFloat_ = value;
       bitField0_ |= 0x00000080;
       onChanged();
@@ -1440,7 +1437,7 @@ public double getPDouble() {
      * @return This builder for chaining.
      */
     public Builder setPDouble(double value) {
-      
+
       pDouble_ = value;
       bitField0_ |= 0x00000100;
       onChanged();
@@ -1480,7 +1477,7 @@ public boolean getPBool() {
      * @return This builder for chaining.
      */
     public Builder setPBool(boolean value) {
-      
+
       pBool_ = value;
       bitField0_ |= 0x00000200;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataGrandchild.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataGrandchild.java
index 72b11003cb..271c8b86de 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataGrandchild.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceDataGrandchild.java
@@ -26,11 +26,6 @@ protected java.lang.Object newInstance(
     return new ComplianceDataGrandchild();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceDataGrandchild_descriptor;
@@ -238,11 +233,13 @@ public static com.google.showcase.v1beta1.ComplianceDataGrandchild parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ComplianceDataGrandchild parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ComplianceDataGrandchild parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -565,7 +562,7 @@ public double getFDouble() {
      * @return This builder for chaining.
      */
     public Builder setFDouble(double value) {
-      
+
       fDouble_ = value;
       bitField0_ |= 0x00000002;
       onChanged();
@@ -597,7 +594,7 @@ public boolean getFBool() {
      * @return This builder for chaining.
      */
     public Builder setFBool(boolean value) {
-      
+
       fBool_ = value;
       bitField0_ |= 0x00000004;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGroup.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGroup.java
index 68c1d98408..f520fdfab5 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGroup.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGroup.java
@@ -23,7 +23,8 @@ private ComplianceGroup(com.google.protobuf.GeneratedMessageV3.Builder builde
   }
   private ComplianceGroup() {
     name_ = "";
-    rpcs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    rpcs_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     requests_ = java.util.Collections.emptyList();
   }
 
@@ -34,11 +35,6 @@ protected java.lang.Object newInstance(
     return new ComplianceGroup();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceGroup_descriptor;
@@ -93,7 +89,8 @@ public java.lang.String getName() {
 
   public static final int RPCS_FIELD_NUMBER = 2;
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList rpcs_;
+  private com.google.protobuf.LazyStringArrayList rpcs_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    * repeated string rpcs = 2;
    * @return A list containing the rpcs.
@@ -306,11 +303,13 @@ public static com.google.showcase.v1beta1.ComplianceGroup parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ComplianceGroup parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ComplianceGroup parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -393,8 +392,8 @@ public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      rpcs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000002);
+      rpcs_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       if (requestsBuilder_ == null) {
         requests_ = java.util.Collections.emptyList();
       } else {
@@ -435,11 +434,6 @@ public com.google.showcase.v1beta1.ComplianceGroup buildPartial() {
     }
 
     private void buildPartialRepeatedFields(com.google.showcase.v1beta1.ComplianceGroup result) {
-      if (((bitField0_ & 0x00000002) != 0)) {
-        rpcs_ = rpcs_.getUnmodifiableView();
-        bitField0_ = (bitField0_ & ~0x00000002);
-      }
-      result.rpcs_ = rpcs_;
       if (requestsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           requests_ = java.util.Collections.unmodifiableList(requests_);
@@ -456,6 +450,10 @@ private void buildPartial0(com.google.showcase.v1beta1.ComplianceGroup result) {
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
       }
+      if (((from_bitField0_ & 0x00000002) != 0)) {
+        rpcs_.makeImmutable();
+        result.rpcs_ = rpcs_;
+      }
     }
 
     @java.lang.Override
@@ -510,7 +508,7 @@ public Builder mergeFrom(com.google.showcase.v1beta1.ComplianceGroup other) {
       if (!other.rpcs_.isEmpty()) {
         if (rpcs_.isEmpty()) {
           rpcs_ = other.rpcs_;
-          bitField0_ = (bitField0_ & ~0x00000002);
+          bitField0_ |= 0x00000002;
         } else {
           ensureRpcsIsMutable();
           rpcs_.addAll(other.rpcs_);
@@ -682,12 +680,13 @@ public Builder setNameBytes(
       return this;
     }
 
-    private com.google.protobuf.LazyStringList rpcs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList rpcs_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     private void ensureRpcsIsMutable() {
-      if (!((bitField0_ & 0x00000002) != 0)) {
+      if (!rpcs_.isModifiable()) {
         rpcs_ = new com.google.protobuf.LazyStringArrayList(rpcs_);
-        bitField0_ |= 0x00000002;
-       }
+      }
+      bitField0_ |= 0x00000002;
     }
     /**
      * repeated string rpcs = 2;
@@ -695,7 +694,8 @@ private void ensureRpcsIsMutable() {
      */
     public com.google.protobuf.ProtocolStringList
         getRpcsList() {
-      return rpcs_.getUnmodifiableView();
+      rpcs_.makeImmutable();
+      return rpcs_;
     }
     /**
      * repeated string rpcs = 2;
@@ -732,6 +732,7 @@ public Builder setRpcs(
       if (value == null) { throw new NullPointerException(); }
       ensureRpcsIsMutable();
       rpcs_.set(index, value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -745,6 +746,7 @@ public Builder addRpcs(
       if (value == null) { throw new NullPointerException(); }
       ensureRpcsIsMutable();
       rpcs_.add(value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -758,6 +760,7 @@ public Builder addAllRpcs(
       ensureRpcsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(
           values, rpcs_);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
@@ -766,8 +769,9 @@ public Builder addAllRpcs(
      * @return This builder for chaining.
      */
     public Builder clearRpcs() {
-      rpcs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000002);
+      rpcs_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+      bitField0_ = (bitField0_ & ~0x00000002);;
       onChanged();
       return this;
     }
@@ -782,6 +786,7 @@ public Builder addRpcsBytes(
       checkByteStringIsUtf8(value);
       ensureRpcsIsMutable();
       rpcs_.add(value);
+      bitField0_ |= 0x00000002;
       onChanged();
       return this;
     }
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceSuite.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceSuite.java
index 58cee3e006..2ff03dc036 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceSuite.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceSuite.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new ComplianceSuite();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_ComplianceSuite_descriptor;
@@ -202,11 +197,13 @@ public static com.google.showcase.v1beta1.ComplianceSuite parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ComplianceSuite parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ComplianceSuite parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequest.java
index 0826ff499e..ac644f44ce 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new ConnectRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ConnectRequest_descriptor;
@@ -95,11 +90,6 @@ protected java.lang.Object newInstance(
       return new ConnectConfig();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ConnectRequest_ConnectConfig_descriptor;
@@ -268,11 +258,13 @@ public static com.google.showcase.v1beta1.ConnectRequest.ConnectConfig parseFrom
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static com.google.showcase.v1beta1.ConnectRequest.ConnectConfig parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.showcase.v1beta1.ConnectRequest.ConnectConfig parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -640,6 +632,7 @@ public com.google.showcase.v1beta1.ConnectRequest.ConnectConfig getDefaultInstan
   }
 
   private int requestCase_ = 0;
+  @SuppressWarnings("serial")
   private java.lang.Object request_;
   public enum RequestCase
       implements com.google.protobuf.Internal.EnumLite,
@@ -906,11 +899,13 @@ public static com.google.showcase.v1beta1.ConnectRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ConnectRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ConnectRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequestOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequestOrBuilder.java
index 69ed6fc296..64bf69cd41 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequestOrBuilder.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ConnectRequestOrBuilder.java
@@ -64,5 +64,5 @@ public interface ConnectRequestOrBuilder extends
    */
   com.google.showcase.v1beta1.BlurbOrBuilder getBlurbOrBuilder();
 
-  public com.google.showcase.v1beta1.ConnectRequest.RequestCase getRequestCase();
+  com.google.showcase.v1beta1.ConnectRequest.RequestCase getRequestCase();
 }
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateBlurbRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateBlurbRequest.java
index c39ae40105..d2a560d851 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateBlurbRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateBlurbRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new CreateBlurbRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_CreateBlurbRequest_descriptor;
@@ -260,11 +255,13 @@ public static com.google.showcase.v1beta1.CreateBlurbRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.CreateBlurbRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.CreateBlurbRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateRoomRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateRoomRequest.java
index 4c7d195730..343787a016 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateRoomRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateRoomRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new CreateRoomRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_CreateRoomRequest_descriptor;
@@ -200,11 +195,13 @@ public static com.google.showcase.v1beta1.CreateRoomRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.CreateRoomRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.CreateRoomRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSequenceRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSequenceRequest.java
index d61cf1e5a7..72f272198e 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSequenceRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSequenceRequest.java
@@ -25,11 +25,6 @@ protected java.lang.Object newInstance(
     return new CreateSequenceRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_CreateSequenceRequest_descriptor;
@@ -183,11 +178,13 @@ public static com.google.showcase.v1beta1.CreateSequenceRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.CreateSequenceRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.CreateSequenceRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSessionRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSessionRequest.java
index 6a20488a06..825c59d111 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSessionRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateSessionRequest.java
@@ -29,11 +29,6 @@ protected java.lang.Object newInstance(
     return new CreateSessionRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_CreateSessionRequest_descriptor;
@@ -205,11 +200,13 @@ public static com.google.showcase.v1beta1.CreateSessionRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.CreateSessionRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.CreateSessionRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateStreamingSequenceRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateStreamingSequenceRequest.java
index 06d85837dc..a618d2e264 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateStreamingSequenceRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateStreamingSequenceRequest.java
@@ -25,11 +25,6 @@ protected java.lang.Object newInstance(
     return new CreateStreamingSequenceRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_CreateStreamingSequenceRequest_descriptor;
@@ -183,11 +178,13 @@ public static com.google.showcase.v1beta1.CreateStreamingSequenceRequest parseFr
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.CreateStreamingSequenceRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.CreateStreamingSequenceRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateUserRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateUserRequest.java
index 1164eb3bf0..8fa50ea709 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateUserRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/CreateUserRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new CreateUserRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_CreateUserRequest_descriptor;
@@ -200,11 +195,13 @@ public static com.google.showcase.v1beta1.CreateUserRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.CreateUserRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.CreateUserRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteBlurbRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteBlurbRequest.java
index 37948407ed..6bf448c8e6 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteBlurbRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteBlurbRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new DeleteBlurbRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_DeleteBlurbRequest_descriptor;
@@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.DeleteBlurbRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.DeleteBlurbRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.DeleteBlurbRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteRoomRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteRoomRequest.java
index 22af5de200..31a3b46892 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteRoomRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteRoomRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new DeleteRoomRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_DeleteRoomRequest_descriptor;
@@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.DeleteRoomRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.DeleteRoomRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.DeleteRoomRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteSessionRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteSessionRequest.java
index 5dc2f44c60..d96c7e040a 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteSessionRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteSessionRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new DeleteSessionRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_DeleteSessionRequest_descriptor;
@@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.DeleteSessionRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.DeleteSessionRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.DeleteSessionRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteTestRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteTestRequest.java
index 5668a946ff..9fdb0a55df 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteTestRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteTestRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new DeleteTestRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_DeleteTestRequest_descriptor;
@@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.DeleteTestRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.DeleteTestRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.DeleteTestRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteUserRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteUserRequest.java
index 1e0248e6f0..2ce6f8b7e0 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteUserRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/DeleteUserRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new DeleteUserRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_DeleteUserRequest_descriptor;
@@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.DeleteUserRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.DeleteUserRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.DeleteUserRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoOuterClass.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoOuterClass.java
index a605e0df52..e11816f093 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoOuterClass.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoOuterClass.java
@@ -110,78 +110,78 @@ public static void registerAllExtensions(
       "1.Severity\"x\n\rExpandRequest\022\017\n\007content\030\001" +
       " \001(\t\022!\n\005error\030\002 \001(\0132\022.google.rpc.Status\022" +
       "3\n\020stream_wait_time\030\003 \001(\0132\031.google.proto" +
-      "buf.Duration\"Q\n\022PagedExpandRequest\022\024\n\007co" +
-      "ntent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" +
-      "age_token\030\003 \001(\t\"Y\n\030PagedExpandLegacyRequ" +
-      "est\022\024\n\007content\030\001 \001(\tB\003\340A\002\022\023\n\013max_results" +
-      "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\023PagedExpan" +
-      "dResponse\0228\n\tresponses\030\001 \003(\0132%.google.sh" +
-      "owcase.v1beta1.EchoResponse\022\027\n\017next_page" +
-      "_token\030\002 \001(\t\"(\n\027PagedExpandResponseList\022" +
-      "\r\n\005words\030\001 \003(\t\"\203\002\n\037PagedExpandLegacyMapp" +
-      "edResponse\022`\n\014alphabetized\030\001 \003(\0132J.googl" +
-      "e.showcase.v1beta1.PagedExpandLegacyMapp" +
-      "edResponse.AlphabetizedEntry\022\027\n\017next_pag" +
-      "e_token\030\002 \001(\t\032e\n\021AlphabetizedEntry\022\013\n\003ke" +
-      "y\030\001 \001(\t\022?\n\005value\030\002 \001(\01320.google.showcase" +
-      ".v1beta1.PagedExpandResponseList:\0028\001\"\331\001\n" +
-      "\013WaitRequest\022.\n\010end_time\030\001 \001(\0132\032.google." +
-      "protobuf.TimestampH\000\022(\n\003ttl\030\004 \001(\0132\031.goog" +
-      "le.protobuf.DurationH\000\022#\n\005error\030\002 \001(\0132\022." +
-      "google.rpc.StatusH\001\0228\n\007success\030\003 \001(\0132%.g" +
-      "oogle.showcase.v1beta1.WaitResponseH\001B\005\n" +
-      "\003endB\n\n\010response\"\037\n\014WaitResponse\022\017\n\007cont" +
-      "ent\030\001 \001(\t\"<\n\014WaitMetadata\022,\n\010end_time\030\001 " +
-      "\001(\0132\032.google.protobuf.Timestamp\"\255\001\n\014Bloc" +
-      "kRequest\0221\n\016response_delay\030\001 \001(\0132\031.googl" +
-      "e.protobuf.Duration\022#\n\005error\030\002 \001(\0132\022.goo" +
-      "gle.rpc.StatusH\000\0229\n\007success\030\003 \001(\0132&.goog" +
-      "le.showcase.v1beta1.BlockResponseH\000B\n\n\010r" +
-      "esponse\" \n\rBlockResponse\022\017\n\007content\030\001 \001(" +
-      "\t*D\n\010Severity\022\017\n\013UNNECESSARY\020\000\022\r\n\tNECESS" +
-      "ARY\020\001\022\n\n\006URGENT\020\002\022\014\n\010CRITICAL\020\0032\377\013\n\004Echo" +
-      "\022\224\003\n\004Echo\022$.google.showcase.v1beta1.Echo" +
-      "Request\032%.google.showcase.v1beta1.EchoRe" +
-      "sponse\"\276\002\202\323\344\223\002\027\"\022/v1beta1/echo:echo:\001*\212\323" +
-      "\344\223\002\232\002\022\010\n\006header\022\031\n\006header\022\017{routing_id=*" +
-      "*}\022+\n\006header\022!{table_name=regions/*/zone" +
-      "s/*/**}\022\"\n\006header\022\030{super_id=projects/*}" +
-      "/**\0220\n\006header\022&{table_name=projects/*/in" +
-      "stances/*/**}\0221\n\006header\022\'projects/*/{ins" +
-      "tance_id=instances/*}/**\022\030\n\014other_header" +
-      "\022\010{baz=**}\022#\n\014other_header\022\023{qux=project" +
-      "s/*}/**\022\212\001\n\006Expand\022&.google.showcase.v1b" +
-      "eta1.ExpandRequest\032%.google.showcase.v1b" +
-      "eta1.EchoResponse\"/\202\323\344\223\002\031\"\024/v1beta1/echo" +
-      ":expand:\001*\332A\rcontent,error0\001\022z\n\007Collect\022" +
-      "$.google.showcase.v1beta1.EchoRequest\032%." +
-      "google.showcase.v1beta1.EchoResponse\" \202\323" +
-      "\344\223\002\032\"\025/v1beta1/echo:collect:\001*(\001\022W\n\004Chat" +
-      "\022$.google.showcase.v1beta1.EchoRequest\032%" +
-      ".google.showcase.v1beta1.EchoResponse(\0010" +
-      "\001\022\216\001\n\013PagedExpand\022+.google.showcase.v1be" +
-      "ta1.PagedExpandRequest\032,.google.showcase" +
-      ".v1beta1.PagedExpandResponse\"$\202\323\344\223\002\036\"\031/v" +
-      "1beta1/echo:pagedExpand:\001*\022\240\001\n\021PagedExpa" +
-      "ndLegacy\0221.google.showcase.v1beta1.Paged" +
-      "ExpandLegacyRequest\032,.google.showcase.v1" +
-      "beta1.PagedExpandResponse\"*\202\323\344\223\002$\"\037/v1be" +
-      "ta1/echo:pagedExpandLegacy:\001*\022\262\001\n\027PagedE" +
-      "xpandLegacyMapped\022+.google.showcase.v1be" +
-      "ta1.PagedExpandRequest\0328.google.showcase" +
-      ".v1beta1.PagedExpandLegacyMappedResponse" +
-      "\"0\202\323\344\223\002*\"%/v1beta1/echo:pagedExpandLegac" +
-      "yMapped:\001*\022\211\001\n\004Wait\022$.google.showcase.v1" +
-      "beta1.WaitRequest\032\035.google.longrunning.O" +
-      "peration\"<\202\323\344\223\002\027\"\022/v1beta1/echo:wait:\001*\312" +
-      "A\034\n\014WaitResponse\022\014WaitMetadata\022v\n\005Block\022" +
-      "%.google.showcase.v1beta1.BlockRequest\032&" +
-      ".google.showcase.v1beta1.BlockResponse\"\036" +
-      "\202\323\344\223\002\030\"\023/v1beta1/echo:block:\001*\032\021\312A\016local" +
-      "host:7469Bq\n\033com.google.showcase.v1beta1" +
-      "P\001Z4github.com/googleapis/gapic-showcase" +
-      "/server/genproto\352\002\031Google::Showcase::V1b" +
-      "eta1b\006proto3"
+      "buf.Duration\"R\n\022PagedExpandRequest\022\025\n\007co" +
+      "ntent\030\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" +
+      "page_token\030\003 \001(\t\"Z\n\030PagedExpandLegacyReq" +
+      "uest\022\025\n\007content\030\001 \001(\tB\004\342A\001\002\022\023\n\013max_resul" +
+      "ts\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\023PagedExp" +
+      "andResponse\0228\n\tresponses\030\001 \003(\0132%.google." +
+      "showcase.v1beta1.EchoResponse\022\027\n\017next_pa" +
+      "ge_token\030\002 \001(\t\"(\n\027PagedExpandResponseLis" +
+      "t\022\r\n\005words\030\001 \003(\t\"\203\002\n\037PagedExpandLegacyMa" +
+      "ppedResponse\022`\n\014alphabetized\030\001 \003(\0132J.goo" +
+      "gle.showcase.v1beta1.PagedExpandLegacyMa" +
+      "ppedResponse.AlphabetizedEntry\022\027\n\017next_p" +
+      "age_token\030\002 \001(\t\032e\n\021AlphabetizedEntry\022\013\n\003" +
+      "key\030\001 \001(\t\022?\n\005value\030\002 \001(\01320.google.showca" +
+      "se.v1beta1.PagedExpandResponseList:\0028\001\"\331" +
+      "\001\n\013WaitRequest\022.\n\010end_time\030\001 \001(\0132\032.googl" +
+      "e.protobuf.TimestampH\000\022(\n\003ttl\030\004 \001(\0132\031.go" +
+      "ogle.protobuf.DurationH\000\022#\n\005error\030\002 \001(\0132" +
+      "\022.google.rpc.StatusH\001\0228\n\007success\030\003 \001(\0132%" +
+      ".google.showcase.v1beta1.WaitResponseH\001B" +
+      "\005\n\003endB\n\n\010response\"\037\n\014WaitResponse\022\017\n\007co" +
+      "ntent\030\001 \001(\t\"<\n\014WaitMetadata\022,\n\010end_time\030" +
+      "\001 \001(\0132\032.google.protobuf.Timestamp\"\255\001\n\014Bl" +
+      "ockRequest\0221\n\016response_delay\030\001 \001(\0132\031.goo" +
+      "gle.protobuf.Duration\022#\n\005error\030\002 \001(\0132\022.g" +
+      "oogle.rpc.StatusH\000\0229\n\007success\030\003 \001(\0132&.go" +
+      "ogle.showcase.v1beta1.BlockResponseH\000B\n\n" +
+      "\010response\" \n\rBlockResponse\022\017\n\007content\030\001 " +
+      "\001(\t*D\n\010Severity\022\017\n\013UNNECESSARY\020\000\022\r\n\tNECE" +
+      "SSARY\020\001\022\n\n\006URGENT\020\002\022\014\n\010CRITICAL\020\0032\377\013\n\004Ec" +
+      "ho\022\224\003\n\004Echo\022$.google.showcase.v1beta1.Ec" +
+      "hoRequest\032%.google.showcase.v1beta1.Echo" +
+      "Response\"\276\002\202\323\344\223\002\027\"\022/v1beta1/echo:echo:\001*" +
+      "\212\323\344\223\002\232\002\022\010\n\006header\022\031\n\006header\022\017{routing_id" +
+      "=**}\022+\n\006header\022!{table_name=regions/*/zo" +
+      "nes/*/**}\022\"\n\006header\022\030{super_id=projects/" +
+      "*}/**\0220\n\006header\022&{table_name=projects/*/" +
+      "instances/*/**}\0221\n\006header\022\'projects/*/{i" +
+      "nstance_id=instances/*}/**\022\030\n\014other_head" +
+      "er\022\010{baz=**}\022#\n\014other_header\022\023{qux=proje" +
+      "cts/*}/**\022\212\001\n\006Expand\022&.google.showcase.v" +
+      "1beta1.ExpandRequest\032%.google.showcase.v" +
+      "1beta1.EchoResponse\"/\332A\rcontent,error\202\323\344" +
+      "\223\002\031\"\024/v1beta1/echo:expand:\001*0\001\022z\n\007Collec" +
+      "t\022$.google.showcase.v1beta1.EchoRequest\032" +
+      "%.google.showcase.v1beta1.EchoResponse\" " +
+      "\202\323\344\223\002\032\"\025/v1beta1/echo:collect:\001*(\001\022W\n\004Ch" +
+      "at\022$.google.showcase.v1beta1.EchoRequest" +
+      "\032%.google.showcase.v1beta1.EchoResponse(" +
+      "\0010\001\022\216\001\n\013PagedExpand\022+.google.showcase.v1" +
+      "beta1.PagedExpandRequest\032,.google.showca" +
+      "se.v1beta1.PagedExpandResponse\"$\202\323\344\223\002\036\"\031" +
+      "/v1beta1/echo:pagedExpand:\001*\022\240\001\n\021PagedEx" +
+      "pandLegacy\0221.google.showcase.v1beta1.Pag" +
+      "edExpandLegacyRequest\032,.google.showcase." +
+      "v1beta1.PagedExpandResponse\"*\202\323\344\223\002$\"\037/v1" +
+      "beta1/echo:pagedExpandLegacy:\001*\022\262\001\n\027Page" +
+      "dExpandLegacyMapped\022+.google.showcase.v1" +
+      "beta1.PagedExpandRequest\0328.google.showca" +
+      "se.v1beta1.PagedExpandLegacyMappedRespon" +
+      "se\"0\202\323\344\223\002*\"%/v1beta1/echo:pagedExpandLeg" +
+      "acyMapped:\001*\022\211\001\n\004Wait\022$.google.showcase." +
+      "v1beta1.WaitRequest\032\035.google.longrunning" +
+      ".Operation\"<\312A\034\n\014WaitResponse\022\014WaitMetad" +
+      "ata\202\323\344\223\002\027\"\022/v1beta1/echo:wait:\001*\022v\n\005Bloc" +
+      "k\022%.google.showcase.v1beta1.BlockRequest" +
+      "\032&.google.showcase.v1beta1.BlockResponse" +
+      "\"\036\202\323\344\223\002\030\"\023/v1beta1/echo:block:\001*\032\021\312A\016loc" +
+      "alhost:7469Bq\n\033com.google.showcase.v1bet" +
+      "a1P\001Z4github.com/googleapis/gapic-showca" +
+      "se/server/genproto\352\002\031Google::Showcase::V" +
+      "1beta1b\006proto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequest.java
index 5cf123e2ff..5e14b63633 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequest.java
@@ -35,11 +35,6 @@ protected java.lang.Object newInstance(
     return new EchoRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_EchoRequest_descriptor;
@@ -54,6 +49,7 @@ protected java.lang.Object newInstance(
   }
 
   private int responseCase_ = 0;
+  @SuppressWarnings("serial")
   private java.lang.Object response_;
   public enum ResponseCase
       implements com.google.protobuf.Internal.EnumLite,
@@ -487,11 +483,13 @@ public static com.google.showcase.v1beta1.EchoRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.EchoRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.EchoRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequestOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequestOrBuilder.java
index 08bd7d605f..ab23d6d740 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequestOrBuilder.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoRequestOrBuilder.java
@@ -122,5 +122,5 @@ public interface EchoRequestOrBuilder extends
   com.google.protobuf.ByteString
       getOtherHeaderBytes();
 
-  public com.google.showcase.v1beta1.EchoRequest.ResponseCase getResponseCase();
+  com.google.showcase.v1beta1.EchoRequest.ResponseCase getResponseCase();
 }
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoResponse.java
index 7b6d388734..5349047e4e 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoResponse.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new EchoResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_EchoResponse_descriptor;
@@ -240,11 +235,13 @@ public static com.google.showcase.v1beta1.EchoResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.EchoResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.EchoResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumRequest.java
index 098ae16ab5..384e491473 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumRequest.java
@@ -25,11 +25,6 @@ protected java.lang.Object newInstance(
     return new EnumRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_EnumRequest_descriptor;
@@ -168,11 +163,13 @@ public static com.google.showcase.v1beta1.EnumRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.EnumRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.EnumRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -405,7 +402,7 @@ public boolean getUnknownEnum() {
      * @return This builder for chaining.
      */
     public Builder setUnknownEnum(boolean value) {
-      
+
       unknownEnum_ = value;
       bitField0_ |= 0x00000001;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumResponse.java
index 98bd56fdce..ce06086a88 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EnumResponse.java
@@ -26,11 +26,6 @@ protected java.lang.Object newInstance(
     return new EnumResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_EnumResponse_descriptor;
@@ -232,11 +227,13 @@ public static com.google.showcase.v1beta1.EnumResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.EnumResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.EnumResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ExpandRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ExpandRequest.java
index 3348bc259d..ea941ff518 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ExpandRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ExpandRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new ExpandRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_ExpandRequest_descriptor;
@@ -311,11 +306,13 @@ public static com.google.showcase.v1beta1.ExpandRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ExpandRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ExpandRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetBlurbRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetBlurbRequest.java
index 73f169ec05..132ffc2729 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetBlurbRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetBlurbRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new GetBlurbRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_GetBlurbRequest_descriptor;
@@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.GetBlurbRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.GetBlurbRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.GetBlurbRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetRoomRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetRoomRequest.java
index 80285bfdb2..b198625abe 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetRoomRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetRoomRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new GetRoomRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_GetRoomRequest_descriptor;
@@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.GetRoomRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.GetRoomRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.GetRoomRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSequenceReportRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSequenceReportRequest.java
index 2ed1542d94..50637218d0 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSequenceReportRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSequenceReportRequest.java
@@ -26,11 +26,6 @@ protected java.lang.Object newInstance(
     return new GetSequenceReportRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_GetSequenceReportRequest_descriptor;
@@ -191,11 +186,13 @@ public static com.google.showcase.v1beta1.GetSequenceReportRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.GetSequenceReportRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.GetSequenceReportRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSessionRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSessionRequest.java
index 350804adec..d9b33369bd 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSessionRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetSessionRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new GetSessionRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_GetSessionRequest_descriptor;
@@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.GetSessionRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.GetSessionRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.GetSessionRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetStreamingSequenceReportRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetStreamingSequenceReportRequest.java
index 96b0d6df99..a6300fe76b 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetStreamingSequenceReportRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetStreamingSequenceReportRequest.java
@@ -26,11 +26,6 @@ protected java.lang.Object newInstance(
     return new GetStreamingSequenceReportRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_GetStreamingSequenceReportRequest_descriptor;
@@ -191,11 +186,13 @@ public static com.google.showcase.v1beta1.GetStreamingSequenceReportRequest pars
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.GetStreamingSequenceReportRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.GetStreamingSequenceReportRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetUserRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetUserRequest.java
index 2b8a010c28..f3ce949004 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetUserRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/GetUserRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new GetUserRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_GetUserRequest_descriptor;
@@ -204,11 +199,13 @@ public static com.google.showcase.v1beta1.GetUserRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.GetUserRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.GetUserRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityOuterClass.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityOuterClass.java
index 2e42ad5a01..9d5cf7e844 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityOuterClass.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityOuterClass.java
@@ -65,51 +65,51 @@ public static void registerAllExtensions(
       "\032\031google/api/resource.proto\032\033google/prot" +
       "obuf/empty.proto\032 google/protobuf/field_" +
       "mask.proto\032\037google/protobuf/timestamp.pr" +
-      "oto\"\204\003\n\004User\022\014\n\004name\030\001 \001(\t\022\031\n\014display_na" +
-      "me\030\002 \001(\tB\003\340A\002\022\022\n\005email\030\003 \001(\tB\003\340A\002\0224\n\013cre" +
-      "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" +
-      "mpB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.google.pr" +
-      "otobuf.TimestampB\003\340A\003\022\020\n\003age\030\006 \001(\005H\000\210\001\001\022" +
-      "\030\n\013height_feet\030\007 \001(\001H\001\210\001\001\022\025\n\010nickname\030\010 " +
-      "\001(\tH\002\210\001\001\022!\n\024enable_notifications\030\t \001(\010H\003" +
-      "\210\001\001:/\352A,\n\034showcase.googleapis.com/User\022\014" +
-      "users/{user}B\006\n\004_ageB\016\n\014_height_feetB\013\n\t" +
-      "_nicknameB\027\n\025_enable_notifications\"@\n\021Cr" +
-      "eateUserRequest\022+\n\004user\030\001 \001(\0132\035.google.s" +
-      "howcase.v1beta1.User\"D\n\016GetUserRequest\0222" +
-      "\n\004name\030\001 \001(\tB$\372A\036\n\034showcase.googleapis.c" +
-      "om/User\340A\002\"q\n\021UpdateUserRequest\022+\n\004user\030" +
-      "\001 \001(\0132\035.google.showcase.v1beta1.User\022/\n\013" +
-      "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" +
-      "dMask\"G\n\021DeleteUserRequest\0222\n\004name\030\001 \001(\t" +
-      "B$\372A\036\n\034showcase.googleapis.com/User\340A\002\"9" +
-      "\n\020ListUsersRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n" +
-      "\npage_token\030\002 \001(\t\"Z\n\021ListUsersResponse\022," +
-      "\n\005users\030\001 \003(\0132\035.google.showcase.v1beta1." +
-      "User\022\027\n\017next_page_token\030\002 \001(\t2\212\006\n\010Identi" +
-      "ty\022\363\001\n\nCreateUser\022*.google.showcase.v1be" +
-      "ta1.CreateUserRequest\032\035.google.showcase." +
-      "v1beta1.User\"\231\001\202\323\344\223\002\023\"\016/v1beta1/users:\001*" +
-      "\332A\034user.display_name,user.email\332A^user.d" +
-      "isplay_name,user.email,user.age,user.nic" +
-      "kname,user.enable_notifications,user.hei" +
-      "ght_feet\022y\n\007GetUser\022\'.google.showcase.v1" +
-      "beta1.GetUserRequest\032\035.google.showcase.v" +
-      "1beta1.User\"&\202\323\344\223\002\031\022\027/v1beta1/{name=user" +
-      "s/*}\332A\004name\022\203\001\n\nUpdateUser\022*.google.show" +
-      "case.v1beta1.UpdateUserRequest\032\035.google." +
-      "showcase.v1beta1.User\"*\202\323\344\223\002$2\034/v1beta1/" +
-      "{user.name=users/*}:\004user\022x\n\nDeleteUser\022" +
-      "*.google.showcase.v1beta1.DeleteUserRequ" +
-      "est\032\026.google.protobuf.Empty\"&\202\323\344\223\002\031*\027/v1" +
-      "beta1/{name=users/*}\332A\004name\022z\n\tListUsers" +
-      "\022).google.showcase.v1beta1.ListUsersRequ" +
-      "est\032*.google.showcase.v1beta1.ListUsersR" +
-      "esponse\"\026\202\323\344\223\002\020\022\016/v1beta1/users\032\021\312A\016loca" +
-      "lhost:7469Bq\n\033com.google.showcase.v1beta" +
-      "1P\001Z4github.com/googleapis/gapic-showcas" +
-      "e/server/genproto\352\002\031Google::Showcase::V1" +
-      "beta1b\006proto3"
+      "oto\"\210\003\n\004User\022\014\n\004name\030\001 \001(\t\022\032\n\014display_na" +
+      "me\030\002 \001(\tB\004\342A\001\002\022\023\n\005email\030\003 \001(\tB\004\342A\001\002\0225\n\013c" +
+      "reate_time\030\004 \001(\0132\032.google.protobuf.Times" +
+      "tampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google" +
+      ".protobuf.TimestampB\004\342A\001\003\022\020\n\003age\030\006 \001(\005H\000" +
+      "\210\001\001\022\030\n\013height_feet\030\007 \001(\001H\001\210\001\001\022\025\n\010nicknam" +
+      "e\030\010 \001(\tH\002\210\001\001\022!\n\024enable_notifications\030\t \001" +
+      "(\010H\003\210\001\001:/\352A,\n\034showcase.googleapis.com/Us" +
+      "er\022\014users/{user}B\006\n\004_ageB\016\n\014_height_feet" +
+      "B\013\n\t_nicknameB\027\n\025_enable_notifications\"@" +
+      "\n\021CreateUserRequest\022+\n\004user\030\001 \001(\0132\035.goog" +
+      "le.showcase.v1beta1.User\"E\n\016GetUserReque" +
+      "st\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034showcase.goog" +
+      "leapis.com/User\"q\n\021UpdateUserRequest\022+\n\004" +
+      "user\030\001 \001(\0132\035.google.showcase.v1beta1.Use" +
+      "r\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" +
+      ".FieldMask\"H\n\021DeleteUserRequest\0223\n\004name\030" +
+      "\001 \001(\tB%\342A\001\002\372A\036\n\034showcase.googleapis.com/" +
+      "User\"9\n\020ListUsersRequest\022\021\n\tpage_size\030\001 " +
+      "\001(\005\022\022\n\npage_token\030\002 \001(\t\"Z\n\021ListUsersResp" +
+      "onse\022,\n\005users\030\001 \003(\0132\035.google.showcase.v1" +
+      "beta1.User\022\027\n\017next_page_token\030\002 \001(\t2\212\006\n\010" +
+      "Identity\022\363\001\n\nCreateUser\022*.google.showcas" +
+      "e.v1beta1.CreateUserRequest\032\035.google.sho" +
+      "wcase.v1beta1.User\"\231\001\332A\034user.display_nam" +
+      "e,user.email\332A^user.display_name,user.em" +
+      "ail,user.age,user.nickname,user.enable_n" +
+      "otifications,user.height_feet\202\323\344\223\002\023\"\016/v1" +
+      "beta1/users:\001*\022y\n\007GetUser\022\'.google.showc" +
+      "ase.v1beta1.GetUserRequest\032\035.google.show" +
+      "case.v1beta1.User\"&\332A\004name\202\323\344\223\002\031\022\027/v1bet" +
+      "a1/{name=users/*}\022\203\001\n\nUpdateUser\022*.googl" +
+      "e.showcase.v1beta1.UpdateUserRequest\032\035.g" +
+      "oogle.showcase.v1beta1.User\"*\202\323\344\223\002$2\034/v1" +
+      "beta1/{user.name=users/*}:\004user\022x\n\nDelet" +
+      "eUser\022*.google.showcase.v1beta1.DeleteUs" +
+      "erRequest\032\026.google.protobuf.Empty\"&\332A\004na" +
+      "me\202\323\344\223\002\031*\027/v1beta1/{name=users/*}\022z\n\tLis" +
+      "tUsers\022).google.showcase.v1beta1.ListUse" +
+      "rsRequest\032*.google.showcase.v1beta1.List" +
+      "UsersResponse\"\026\202\323\344\223\002\020\022\016/v1beta1/users\032\021\312" +
+      "A\016localhost:7469Bq\n\033com.google.showcase." +
+      "v1beta1P\001Z4github.com/googleapis/gapic-s" +
+      "howcase/server/genproto\352\002\031Google::Showca" +
+      "se::V1beta1b\006proto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Issue.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Issue.java
index 794571db2d..3360abe101 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Issue.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Issue.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new Issue();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Issue_descriptor;
@@ -570,11 +565,13 @@ public static com.google.showcase.v1beta1.Issue parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.Issue parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.Issue parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsRequest.java
index 0cff13fff3..3baa2fcf4a 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsRequest.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new ListBlurbsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ListBlurbsRequest_descriptor;
@@ -294,11 +289,13 @@ public static com.google.showcase.v1beta1.ListBlurbsRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListBlurbsRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListBlurbsRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -660,7 +657,7 @@ public int getPageSize() {
      * @return This builder for chaining.
      */
     public Builder setPageSize(int value) {
-      
+
       pageSize_ = value;
       bitField0_ |= 0x00000002;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsResponse.java
index abec8b6bd8..8f04b493b7 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListBlurbsResponse.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new ListBlurbsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ListBlurbsResponse_descriptor;
@@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.ListBlurbsResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListBlurbsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListBlurbsResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsRequest.java
index 0328356d1f..6e3727c106 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new ListRoomsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ListRoomsRequest_descriptor;
@@ -235,11 +230,13 @@ public static com.google.showcase.v1beta1.ListRoomsRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListRoomsRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListRoomsRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -493,7 +490,7 @@ public int getPageSize() {
      * @return This builder for chaining.
      */
     public Builder setPageSize(int value) {
-      
+
       pageSize_ = value;
       bitField0_ |= 0x00000001;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsResponse.java
index 53ff2904fa..9f498f82a5 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListRoomsResponse.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new ListRoomsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_ListRoomsResponse_descriptor;
@@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.ListRoomsResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListRoomsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListRoomsResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsRequest.java
index 051016f0cd..a5d794ec1e 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new ListSessionsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ListSessionsRequest_descriptor;
@@ -229,11 +224,13 @@ public static com.google.showcase.v1beta1.ListSessionsRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListSessionsRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListSessionsRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -484,7 +481,7 @@ public int getPageSize() {
      * @return This builder for chaining.
      */
     public Builder setPageSize(int value) {
-      
+
       pageSize_ = value;
       bitField0_ |= 0x00000001;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsResponse.java
index 851e0ab977..f21eab5b54 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListSessionsResponse.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new ListSessionsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ListSessionsResponse_descriptor;
@@ -280,11 +275,13 @@ public static com.google.showcase.v1beta1.ListSessionsResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListSessionsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListSessionsResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsRequest.java
index 5bcf9b2d7c..aa2825fb39 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new ListTestsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ListTestsRequest_descriptor;
@@ -287,11 +282,13 @@ public static com.google.showcase.v1beta1.ListTestsRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListTestsRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListTestsRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -648,7 +645,7 @@ public int getPageSize() {
      * @return This builder for chaining.
      */
     public Builder setPageSize(int value) {
-      
+
       pageSize_ = value;
       bitField0_ |= 0x00000002;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsResponse.java
index 25f19a40d5..6cc66b1e99 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListTestsResponse.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new ListTestsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ListTestsResponse_descriptor;
@@ -280,11 +275,13 @@ public static com.google.showcase.v1beta1.ListTestsResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListTestsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListTestsResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersRequest.java
index a955c02b3c..efc7c7d4d3 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new ListUsersRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_ListUsersRequest_descriptor;
@@ -235,11 +230,13 @@ public static com.google.showcase.v1beta1.ListUsersRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListUsersRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListUsersRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -493,7 +490,7 @@ public int getPageSize() {
      * @return This builder for chaining.
      */
     public Builder setPageSize(int value) {
-      
+
       pageSize_ = value;
       bitField0_ |= 0x00000001;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersResponse.java
index 55b5a8e1c9..f5924a46c7 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ListUsersResponse.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new ListUsersResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_ListUsersResponse_descriptor;
@@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.ListUsersResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ListUsersResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ListUsersResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingOuterClass.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingOuterClass.java
index 699e398079..8cf3bf7b2f 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingOuterClass.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingOuterClass.java
@@ -141,140 +141,141 @@ public static void registerAllExtensions(
       "grunning/operations.proto\032\033google/protob" +
       "uf/empty.proto\032 google/protobuf/field_ma" +
       "sk.proto\032\037google/protobuf/timestamp.prot" +
-      "o\032\036google/rpc/error_details.proto\"\341\001\n\004Ro" +
-      "om\022\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003" +
-      "\340A\002\022\023\n\013description\030\003 \001(\t\0224\n\013create_time\030" +
-      "\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" +
-      "\n\013update_time\030\005 \001(\0132\032.google.protobuf.Ti" +
-      "mestampB\003\340A\003:/\352A,\n\034showcase.googleapis.c" +
-      "om/Room\022\014rooms/{room}\"@\n\021CreateRoomReque" +
-      "st\022+\n\004room\030\001 \001(\0132\035.google.showcase.v1bet" +
-      "a1.Room\"D\n\016GetRoomRequest\0222\n\004name\030\001 \001(\tB" +
-      "$\372A\036\n\034showcase.googleapis.com/Room\340A\002\"q\n" +
-      "\021UpdateRoomRequest\022+\n\004room\030\001 \001(\0132\035.googl" +
-      "e.showcase.v1beta1.Room\022/\n\013update_mask\030\002" +
-      " \001(\0132\032.google.protobuf.FieldMask\"G\n\021Dele" +
-      "teRoomRequest\0222\n\004name\030\001 \001(\tB$\372A\036\n\034showca" +
-      "se.googleapis.com/Room\340A\002\"9\n\020ListRoomsRe" +
-      "quest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token\030\002" +
-      " \001(\t\"Z\n\021ListRoomsResponse\022,\n\005rooms\030\001 \003(\013" +
-      "2\035.google.showcase.v1beta1.Room\022\027\n\017next_" +
-      "page_token\030\002 \001(\t\"\366\003\n\005Blurb\022\014\n\004name\030\001 \001(\t" +
-      "\0222\n\004user\030\002 \001(\tB$\372A\036\n\034showcase.googleapis" +
-      ".com/User\340A\002\022\016\n\004text\030\003 \001(\tH\000\022\017\n\005image\030\004 " +
-      "\001(\014H\000\0224\n\013create_time\030\005 \001(\0132\032.google.prot" +
-      "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\006 \001(\013" +
-      "2\032.google.protobuf.TimestampB\003\340A\003\022\030\n\016leg" +
-      "acy_room_id\030\007 \001(\tH\001\022\030\n\016legacy_user_id\030\010 " +
-      "\001(\tH\001:\321\001\352A\315\001\n\035showcase.googleapis.com/Bl" +
-      "urb\0228users/{user}/profile/blurbs/legacy/" +
-      "{legacy_user}~{blurb}\022#users/{user}/prof" +
-      "ile/blurbs/{blurb}\022\033rooms/{room}/blurbs/" +
-      "{blurb}\0220rooms/{room}/blurbs/legacy/{leg" +
-      "acy_room}.{blurb}B\t\n\007contentB\013\n\tlegacy_i" +
-      "d\"z\n\022CreateBlurbRequest\0225\n\006parent\030\001 \001(\tB" +
-      "%\372A\037\022\035showcase.googleapis.com/Blurb\340A\002\022-" +
-      "\n\005blurb\030\002 \001(\0132\036.google.showcase.v1beta1." +
-      "Blurb\"F\n\017GetBlurbRequest\0223\n\004name\030\001 \001(\tB%" +
-      "\372A\037\n\035showcase.googleapis.com/Blurb\340A\002\"t\n" +
-      "\022UpdateBlurbRequest\022-\n\005blurb\030\001 \001(\0132\036.goo" +
-      "gle.showcase.v1beta1.Blurb\022/\n\013update_mas" +
-      "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"I\n\022D" +
-      "eleteBlurbRequest\0223\n\004name\030\001 \001(\tB%\372A\037\n\035sh" +
-      "owcase.googleapis.com/Blurb\340A\002\"q\n\021ListBl" +
-      "urbsRequest\0225\n\006parent\030\001 \001(\tB%\372A\037\022\035showca" +
-      "se.googleapis.com/Blurb\340A\002\022\021\n\tpage_size\030" +
-      "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"]\n\022ListBlurbsR" +
-      "esponse\022.\n\006blurbs\030\001 \003(\0132\036.google.showcas" +
-      "e.v1beta1.Blurb\022\027\n\017next_page_token\030\002 \001(\t" +
-      "\"\204\001\n\023SearchBlurbsRequest\022\022\n\005query\030\001 \001(\tB" +
-      "\003\340A\002\0222\n\006parent\030\002 \001(\tB\"\372A\037\022\035showcase.goog" +
-      "leapis.com/Blurb\022\021\n\tpage_size\030\003 \001(\005\022\022\n\np" +
-      "age_token\030\004 \001(\t\"A\n\024SearchBlurbsMetadata\022" +
-      ")\n\nretry_info\030\001 \001(\0132\025.google.rpc.RetryIn" +
-      "fo\"_\n\024SearchBlurbsResponse\022.\n\006blurbs\030\001 \003" +
-      "(\0132\036.google.showcase.v1beta1.Blurb\022\027\n\017ne" +
-      "xt_page_token\030\002 \001(\t\"\200\001\n\023StreamBlurbsRequ" +
-      "est\0223\n\004name\030\001 \001(\tB%\372A\037\022\035showcase.googlea" +
-      "pis.com/Blurb\340A\002\0224\n\013expire_time\030\002 \001(\0132\032." +
-      "google.protobuf.TimestampB\003\340A\002\"\321\001\n\024Strea" +
-      "mBlurbsResponse\022-\n\005blurb\030\001 \001(\0132\036.google." +
-      "showcase.v1beta1.Blurb\022D\n\006action\030\002 \001(\01624" +
-      ".google.showcase.v1beta1.StreamBlurbsRes" +
-      "ponse.Action\"D\n\006Action\022\026\n\022ACTION_UNSPECI" +
-      "FIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE" +
-      "\020\003\"#\n\022SendBlurbsResponse\022\r\n\005names\030\001 \003(\t\"" +
-      "\332\001\n\016ConnectRequest\022G\n\006config\030\001 \001(\01325.goo" +
-      "gle.showcase.v1beta1.ConnectRequest.Conn" +
-      "ectConfigH\000\022/\n\005blurb\030\002 \001(\0132\036.google.show" +
-      "case.v1beta1.BlurbH\000\032C\n\rConnectConfig\0222\n" +
-      "\006parent\030\001 \001(\tB\"\372A\037\022\035showcase.googleapis." +
-      "com/BlurbB\t\n\007request2\264\023\n\tMessaging\022\227\001\n\nC" +
-      "reateRoom\022*.google.showcase.v1beta1.Crea" +
-      "teRoomRequest\032\035.google.showcase.v1beta1." +
-      "Room\">\202\323\344\223\002\023\"\016/v1beta1/rooms:\001*\332A\"room.d" +
-      "isplay_name,room.description\022y\n\007GetRoom\022" +
-      "\'.google.showcase.v1beta1.GetRoomRequest" +
-      "\032\035.google.showcase.v1beta1.Room\"&\202\323\344\223\002\031\022" +
-      "\027/v1beta1/{name=rooms/*}\332A\004name\022\203\001\n\nUpda" +
-      "teRoom\022*.google.showcase.v1beta1.UpdateR" +
-      "oomRequest\032\035.google.showcase.v1beta1.Roo" +
-      "m\"*\202\323\344\223\002$2\034/v1beta1/{room.name=rooms/*}:" +
-      "\004room\022x\n\nDeleteRoom\022*.google.showcase.v1" +
-      "beta1.DeleteRoomRequest\032\026.google.protobu" +
-      "f.Empty\"&\202\323\344\223\002\031*\027/v1beta1/{name=rooms/*}" +
-      "\332A\004name\022z\n\tListRooms\022).google.showcase.v" +
-      "1beta1.ListRoomsRequest\032*.google.showcas" +
-      "e.v1beta1.ListRoomsResponse\"\026\202\323\344\223\002\020\022\016/v1" +
-      "beta1/rooms\022\366\001\n\013CreateBlurb\022+.google.sho" +
-      "wcase.v1beta1.CreateBlurbRequest\032\036.googl" +
-      "e.showcase.v1beta1.Blurb\"\231\001\202\323\344\223\002T\" /v1be" +
-      "ta1/{parent=rooms/*}/blurbs:\001*Z-\"(/v1bet" +
-      "a1/{parent=users/*/profile}/blurbs:\001*\332A\034" +
-      "parent,blurb.user,blurb.text\332A\035parent,bl" +
-      "urb.user,blurb.image\022\261\001\n\010GetBlurb\022(.goog" +
-      "le.showcase.v1beta1.GetBlurbRequest\032\036.go" +
-      "ogle.showcase.v1beta1.Blurb\"[\202\323\344\223\002N\022 /v1" +
-      "beta1/{name=rooms/*/blurbs/*}Z*\022(/v1beta" +
-      "1/{name=users/*/profile/blurbs/*}\332A\004name" +
-      "\022\312\001\n\013UpdateBlurb\022+.google.showcase.v1bet" +
-      "a1.UpdateBlurbRequest\032\036.google.showcase." +
-      "v1beta1.Blurb\"n\202\323\344\223\002h2&/v1beta1/{blurb.n" +
-      "ame=rooms/*/blurbs/*}:\005blurbZ72./v1beta1" +
-      "/{blurb.name=users/*/profile/blurbs/*}:\005" +
-      "blurb\022\257\001\n\013DeleteBlurb\022+.google.showcase." +
-      "v1beta1.DeleteBlurbRequest\032\026.google.prot" +
-      "obuf.Empty\"[\202\323\344\223\002N* /v1beta1/{name=rooms" +
-      "/*/blurbs/*}Z**(/v1beta1/{name=users/*/p" +
-      "rofile/blurbs/*}\332A\004name\022\304\001\n\nListBlurbs\022*" +
-      ".google.showcase.v1beta1.ListBlurbsReque" +
-      "st\032+.google.showcase.v1beta1.ListBlurbsR" +
-      "esponse\"]\202\323\344\223\002N\022 /v1beta1/{parent=rooms/" +
-      "*}/blurbsZ*\022(/v1beta1/{parent=users/*/pr" +
-      "ofile}/blurbs\332A\006parent\022\201\002\n\014SearchBlurbs\022" +
-      ",.google.showcase.v1beta1.SearchBlurbsRe" +
-      "quest\032\035.google.longrunning.Operation\"\243\001\202" +
-      "\323\344\223\002_\"\'/v1beta1/{parent=rooms/*}/blurbs:" +
-      "search:\001*Z1\"//v1beta1/{parent=users/*/pr" +
-      "ofile}/blurbs:search\312A,\n\024SearchBlurbsRes" +
-      "ponse\022\024SearchBlurbsMetadata\332A\014parent,que" +
-      "ry\022\323\001\n\014StreamBlurbs\022,.google.showcase.v1" +
-      "beta1.StreamBlurbsRequest\032-.google.showc" +
-      "ase.v1beta1.StreamBlurbsResponse\"d\202\323\344\223\002^" +
-      "\"%/v1beta1/{name=rooms/*}/blurbs:stream:" +
-      "\001*Z2\"-/v1beta1/{name=users/*/profile}/bl" +
-      "urbs:stream:\001*0\001\022\316\001\n\nSendBlurbs\022+.google" +
-      ".showcase.v1beta1.CreateBlurbRequest\032+.g" +
-      "oogle.showcase.v1beta1.SendBlurbsRespons" +
-      "e\"d\202\323\344\223\002^\"%/v1beta1/{parent=rooms/*}/blu" +
-      "rbs:send:\001*Z2\"-/v1beta1/{parent=users/*/" +
-      "profile}/blurbs:send:\001*(\001\022e\n\007Connect\022\'.g" +
-      "oogle.showcase.v1beta1.ConnectRequest\032-." +
-      "google.showcase.v1beta1.StreamBlurbsResp" +
-      "onse(\0010\001\032\021\312A\016localhost:7469Bq\n\033com.googl" +
-      "e.showcase.v1beta1P\001Z4github.com/googlea" +
-      "pis/gapic-showcase/server/genproto\352\002\031Goo" +
-      "gle::Showcase::V1beta1b\006proto3"
+      "o\032\036google/rpc/error_details.proto\"\344\001\n\004Ro" +
+      "om\022\014\n\004name\030\001 \001(\t\022\032\n\014display_name\030\002 \001(\tB\004" +
+      "\342A\001\002\022\023\n\013description\030\003 \001(\t\0225\n\013create_time" +
+      "\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" +
+      "\0225\n\013update_time\030\005 \001(\0132\032.google.protobuf." +
+      "TimestampB\004\342A\001\003:/\352A,\n\034showcase.googleapi" +
+      "s.com/Room\022\014rooms/{room}\"@\n\021CreateRoomRe" +
+      "quest\022+\n\004room\030\001 \001(\0132\035.google.showcase.v1" +
+      "beta1.Room\"E\n\016GetRoomRequest\0223\n\004name\030\001 \001" +
+      "(\tB%\342A\001\002\372A\036\n\034showcase.googleapis.com/Roo" +
+      "m\"q\n\021UpdateRoomRequest\022+\n\004room\030\001 \001(\0132\035.g" +
+      "oogle.showcase.v1beta1.Room\022/\n\013update_ma" +
+      "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"H\n\021" +
+      "DeleteRoomRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036" +
+      "\n\034showcase.googleapis.com/Room\"9\n\020ListRo" +
+      "omsRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_to" +
+      "ken\030\002 \001(\t\"Z\n\021ListRoomsResponse\022,\n\005rooms\030" +
+      "\001 \003(\0132\035.google.showcase.v1beta1.Room\022\027\n\017" +
+      "next_page_token\030\002 \001(\t\"\371\003\n\005Blurb\022\014\n\004name\030" +
+      "\001 \001(\t\0223\n\004user\030\002 \001(\tB%\342A\001\002\372A\036\n\034showcase.g" +
+      "oogleapis.com/User\022\016\n\004text\030\003 \001(\tH\000\022\017\n\005im" +
+      "age\030\004 \001(\014H\000\0225\n\013create_time\030\005 \001(\0132\032.googl" +
+      "e.protobuf.TimestampB\004\342A\001\003\0225\n\013update_tim" +
+      "e\030\006 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" +
+      "\003\022\030\n\016legacy_room_id\030\007 \001(\tH\001\022\030\n\016legacy_us" +
+      "er_id\030\010 \001(\tH\001:\321\001\352A\315\001\n\035showcase.googleapi" +
+      "s.com/Blurb\0228users/{user}/profile/blurbs" +
+      "/legacy/{legacy_user}~{blurb}\022#users/{us" +
+      "er}/profile/blurbs/{blurb}\022\033rooms/{room}" +
+      "/blurbs/{blurb}\0220rooms/{room}/blurbs/leg" +
+      "acy/{legacy_room}.{blurb}B\t\n\007contentB\013\n\t" +
+      "legacy_id\"{\n\022CreateBlurbRequest\0226\n\006paren" +
+      "t\030\001 \001(\tB&\342A\001\002\372A\037\022\035showcase.googleapis.co" +
+      "m/Blurb\022-\n\005blurb\030\002 \001(\0132\036.google.showcase" +
+      ".v1beta1.Blurb\"G\n\017GetBlurbRequest\0224\n\004nam" +
+      "e\030\001 \001(\tB&\342A\001\002\372A\037\n\035showcase.googleapis.co" +
+      "m/Blurb\"t\n\022UpdateBlurbRequest\022-\n\005blurb\030\001" +
+      " \001(\0132\036.google.showcase.v1beta1.Blurb\022/\n\013" +
+      "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" +
+      "dMask\"J\n\022DeleteBlurbRequest\0224\n\004name\030\001 \001(" +
+      "\tB&\342A\001\002\372A\037\n\035showcase.googleapis.com/Blur" +
+      "b\"r\n\021ListBlurbsRequest\0226\n\006parent\030\001 \001(\tB&" +
+      "\342A\001\002\372A\037\022\035showcase.googleapis.com/Blurb\022\021" +
+      "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"]\n" +
+      "\022ListBlurbsResponse\022.\n\006blurbs\030\001 \003(\0132\036.go" +
+      "ogle.showcase.v1beta1.Blurb\022\027\n\017next_page" +
+      "_token\030\002 \001(\t\"\205\001\n\023SearchBlurbsRequest\022\023\n\005" +
+      "query\030\001 \001(\tB\004\342A\001\002\0222\n\006parent\030\002 \001(\tB\"\372A\037\022\035" +
+      "showcase.googleapis.com/Blurb\022\021\n\tpage_si" +
+      "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"A\n\024SearchBl" +
+      "urbsMetadata\022)\n\nretry_info\030\001 \001(\0132\025.googl" +
+      "e.rpc.RetryInfo\"_\n\024SearchBlurbsResponse\022" +
+      ".\n\006blurbs\030\001 \003(\0132\036.google.showcase.v1beta" +
+      "1.Blurb\022\027\n\017next_page_token\030\002 \001(\t\"\202\001\n\023Str" +
+      "eamBlurbsRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\022" +
+      "\035showcase.googleapis.com/Blurb\0225\n\013expire" +
+      "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" +
+      "\004\342A\001\002\"\321\001\n\024StreamBlurbsResponse\022-\n\005blurb\030" +
+      "\001 \001(\0132\036.google.showcase.v1beta1.Blurb\022D\n" +
+      "\006action\030\002 \001(\01624.google.showcase.v1beta1." +
+      "StreamBlurbsResponse.Action\"D\n\006Action\022\026\n" +
+      "\022ACTION_UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPD" +
+      "ATE\020\002\022\n\n\006DELETE\020\003\"#\n\022SendBlurbsResponse\022" +
+      "\r\n\005names\030\001 \003(\t\"\332\001\n\016ConnectRequest\022G\n\006con" +
+      "fig\030\001 \001(\01325.google.showcase.v1beta1.Conn" +
+      "ectRequest.ConnectConfigH\000\022/\n\005blurb\030\002 \001(" +
+      "\0132\036.google.showcase.v1beta1.BlurbH\000\032C\n\rC" +
+      "onnectConfig\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035showc" +
+      "ase.googleapis.com/BlurbB\t\n\007request2\264\023\n\t" +
+      "Messaging\022\227\001\n\nCreateRoom\022*.google.showca" +
+      "se.v1beta1.CreateRoomRequest\032\035.google.sh" +
+      "owcase.v1beta1.Room\">\332A\"room.display_nam" +
+      "e,room.description\202\323\344\223\002\023\"\016/v1beta1/rooms" +
+      ":\001*\022y\n\007GetRoom\022\'.google.showcase.v1beta1" +
+      ".GetRoomRequest\032\035.google.showcase.v1beta" +
+      "1.Room\"&\332A\004name\202\323\344\223\002\031\022\027/v1beta1/{name=ro" +
+      "oms/*}\022\203\001\n\nUpdateRoom\022*.google.showcase." +
+      "v1beta1.UpdateRoomRequest\032\035.google.showc" +
+      "ase.v1beta1.Room\"*\202\323\344\223\002$2\034/v1beta1/{room" +
+      ".name=rooms/*}:\004room\022x\n\nDeleteRoom\022*.goo" +
+      "gle.showcase.v1beta1.DeleteRoomRequest\032\026" +
+      ".google.protobuf.Empty\"&\332A\004name\202\323\344\223\002\031*\027/" +
+      "v1beta1/{name=rooms/*}\022z\n\tListRooms\022).go" +
+      "ogle.showcase.v1beta1.ListRoomsRequest\032*" +
+      ".google.showcase.v1beta1.ListRoomsRespon" +
+      "se\"\026\202\323\344\223\002\020\022\016/v1beta1/rooms\022\366\001\n\013CreateBlu" +
+      "rb\022+.google.showcase.v1beta1.CreateBlurb" +
+      "Request\032\036.google.showcase.v1beta1.Blurb\"" +
+      "\231\001\332A\034parent,blurb.user,blurb.text\332A\035pare" +
+      "nt,blurb.user,blurb.image\202\323\344\223\002T\" /v1beta" +
+      "1/{parent=rooms/*}/blurbs:\001*Z-\"(/v1beta1" +
+      "/{parent=users/*/profile}/blurbs:\001*\022\261\001\n\010" +
+      "GetBlurb\022(.google.showcase.v1beta1.GetBl" +
+      "urbRequest\032\036.google.showcase.v1beta1.Blu" +
+      "rb\"[\332A\004name\202\323\344\223\002N\022 /v1beta1/{name=rooms/" +
+      "*/blurbs/*}Z*\022(/v1beta1/{name=users/*/pr" +
+      "ofile/blurbs/*}\022\312\001\n\013UpdateBlurb\022+.google" +
+      ".showcase.v1beta1.UpdateBlurbRequest\032\036.g" +
+      "oogle.showcase.v1beta1.Blurb\"n\202\323\344\223\002h2&/v" +
+      "1beta1/{blurb.name=rooms/*/blurbs/*}:\005bl" +
+      "urbZ72./v1beta1/{blurb.name=users/*/prof" +
+      "ile/blurbs/*}:\005blurb\022\257\001\n\013DeleteBlurb\022+.g" +
+      "oogle.showcase.v1beta1.DeleteBlurbReques" +
+      "t\032\026.google.protobuf.Empty\"[\332A\004name\202\323\344\223\002N" +
+      "* /v1beta1/{name=rooms/*/blurbs/*}Z**(/v" +
+      "1beta1/{name=users/*/profile/blurbs/*}\022\304" +
+      "\001\n\nListBlurbs\022*.google.showcase.v1beta1." +
+      "ListBlurbsRequest\032+.google.showcase.v1be" +
+      "ta1.ListBlurbsResponse\"]\332A\006parent\202\323\344\223\002N\022" +
+      " /v1beta1/{parent=rooms/*}/blurbsZ*\022(/v1" +
+      "beta1/{parent=users/*/profile}/blurbs\022\201\002" +
+      "\n\014SearchBlurbs\022,.google.showcase.v1beta1" +
+      ".SearchBlurbsRequest\032\035.google.longrunnin" +
+      "g.Operation\"\243\001\312A,\n\024SearchBlurbsResponse\022" +
+      "\024SearchBlurbsMetadata\332A\014parent,query\202\323\344\223" +
+      "\002_\"\'/v1beta1/{parent=rooms/*}/blurbs:sea" +
+      "rch:\001*Z1\"//v1beta1/{parent=users/*/profi" +
+      "le}/blurbs:search\022\323\001\n\014StreamBlurbs\022,.goo" +
+      "gle.showcase.v1beta1.StreamBlurbsRequest" +
+      "\032-.google.showcase.v1beta1.StreamBlurbsR" +
+      "esponse\"d\202\323\344\223\002^\"%/v1beta1/{name=rooms/*}" +
+      "/blurbs:stream:\001*Z2\"-/v1beta1/{name=user" +
+      "s/*/profile}/blurbs:stream:\001*0\001\022\316\001\n\nSend" +
+      "Blurbs\022+.google.showcase.v1beta1.CreateB" +
+      "lurbRequest\032+.google.showcase.v1beta1.Se" +
+      "ndBlurbsResponse\"d\202\323\344\223\002^\"%/v1beta1/{pare" +
+      "nt=rooms/*}/blurbs:send:\001*Z2\"-/v1beta1/{" +
+      "parent=users/*/profile}/blurbs:send:\001*(\001" +
+      "\022e\n\007Connect\022\'.google.showcase.v1beta1.Co" +
+      "nnectRequest\032-.google.showcase.v1beta1.S" +
+      "treamBlurbsResponse(\0010\001\032\021\312A\016localhost:74" +
+      "69Bq\n\033com.google.showcase.v1beta1P\001Z4git" +
+      "hub.com/googleapis/gapic-showcase/server" +
+      "/genproto\352\002\031Google::Showcase::V1beta1b\006p" +
+      "roto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyMappedResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyMappedResponse.java
index 57ff574d53..2d3887f7d3 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyMappedResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyMappedResponse.java
@@ -26,11 +26,6 @@ protected java.lang.Object newInstance(
     return new PagedExpandLegacyMappedResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_PagedExpandLegacyMappedResponse_descriptor;
@@ -336,11 +331,13 @@ public static com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse parseF
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyRequest.java
index ed44613236..30614a85ac 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandLegacyRequest.java
@@ -33,11 +33,6 @@ protected java.lang.Object newInstance(
     return new PagedExpandLegacyRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_PagedExpandLegacyRequest_descriptor;
@@ -291,11 +286,13 @@ public static com.google.showcase.v1beta1.PagedExpandLegacyRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandLegacyRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandLegacyRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -658,7 +655,7 @@ public int getMaxResults() {
      * @return This builder for chaining.
      */
     public Builder setMaxResults(int value) {
-      
+
       maxResults_ = value;
       bitField0_ |= 0x00000002;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandRequest.java
index 4692f6ecfd..84b9daf944 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandRequest.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new PagedExpandRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_PagedExpandRequest_descriptor;
@@ -287,11 +282,13 @@ public static com.google.showcase.v1beta1.PagedExpandRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -648,7 +645,7 @@ public int getPageSize() {
      * @return This builder for chaining.
      */
     public Builder setPageSize(int value) {
-      
+
       pageSize_ = value;
       bitField0_ |= 0x00000002;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponse.java
index c7856078c6..12833bbefa 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponse.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new PagedExpandResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_PagedExpandResponse_descriptor;
@@ -278,11 +273,13 @@ public static com.google.showcase.v1beta1.PagedExpandResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponseList.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponseList.java
index 68701c202e..4222a0e3da 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponseList.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/PagedExpandResponseList.java
@@ -20,7 +20,8 @@ private PagedExpandResponseList(com.google.protobuf.GeneratedMessageV3.Builderrepeated string words = 1;
    * @return A list containing the words.
@@ -199,11 +196,13 @@ public static com.google.showcase.v1beta1.PagedExpandResponseList parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandResponseList parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.PagedExpandResponseList parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -283,8 +282,8 @@ private Builder(
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      words_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000001);
+      words_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
@@ -311,22 +310,17 @@ public com.google.showcase.v1beta1.PagedExpandResponseList build() {
     @java.lang.Override
     public com.google.showcase.v1beta1.PagedExpandResponseList buildPartial() {
       com.google.showcase.v1beta1.PagedExpandResponseList result = new com.google.showcase.v1beta1.PagedExpandResponseList(this);
-      buildPartialRepeatedFields(result);
       if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.showcase.v1beta1.PagedExpandResponseList result) {
-      if (((bitField0_ & 0x00000001) != 0)) {
-        words_ = words_.getUnmodifiableView();
-        bitField0_ = (bitField0_ & ~0x00000001);
-      }
-      result.words_ = words_;
-    }
-
     private void buildPartial0(com.google.showcase.v1beta1.PagedExpandResponseList result) {
       int from_bitField0_ = bitField0_;
+      if (((from_bitField0_ & 0x00000001) != 0)) {
+        words_.makeImmutable();
+        result.words_ = words_;
+      }
     }
 
     @java.lang.Override
@@ -376,7 +370,7 @@ public Builder mergeFrom(com.google.showcase.v1beta1.PagedExpandResponseList oth
       if (!other.words_.isEmpty()) {
         if (words_.isEmpty()) {
           words_ = other.words_;
-          bitField0_ = (bitField0_ & ~0x00000001);
+          bitField0_ |= 0x00000001;
         } else {
           ensureWordsIsMutable();
           words_.addAll(other.words_);
@@ -432,12 +426,13 @@ public Builder mergeFrom(
     }
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList words_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList words_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     private void ensureWordsIsMutable() {
-      if (!((bitField0_ & 0x00000001) != 0)) {
+      if (!words_.isModifiable()) {
         words_ = new com.google.protobuf.LazyStringArrayList(words_);
-        bitField0_ |= 0x00000001;
-       }
+      }
+      bitField0_ |= 0x00000001;
     }
     /**
      * repeated string words = 1;
@@ -445,7 +440,8 @@ private void ensureWordsIsMutable() {
      */
     public com.google.protobuf.ProtocolStringList
         getWordsList() {
-      return words_.getUnmodifiableView();
+      words_.makeImmutable();
+      return words_;
     }
     /**
      * repeated string words = 1;
@@ -482,6 +478,7 @@ public Builder setWords(
       if (value == null) { throw new NullPointerException(); }
       ensureWordsIsMutable();
       words_.set(index, value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -495,6 +492,7 @@ public Builder addWords(
       if (value == null) { throw new NullPointerException(); }
       ensureWordsIsMutable();
       words_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -508,6 +506,7 @@ public Builder addAllWords(
       ensureWordsIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(
           values, words_);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -516,8 +515,9 @@ public Builder addAllWords(
      * @return This builder for chaining.
      */
     public Builder clearWords() {
-      words_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000001);
+      words_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+      bitField0_ = (bitField0_ & ~0x00000001);;
       onChanged();
       return this;
     }
@@ -532,6 +532,7 @@ public Builder addWordsBytes(
       checkByteStringIsUtf8(value);
       ensureWordsIsMutable();
       words_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ProfileName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ProfileName.java
index b69500d0ae..6b36159006 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ProfileName.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ProfileName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatRequest.java
index 1fefa21ef5..2a5d971dcb 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatRequest.java
@@ -27,11 +27,6 @@ protected java.lang.Object newInstance(
     return new RepeatRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_RepeatRequest_descriptor;
@@ -519,11 +514,13 @@ public static com.google.showcase.v1beta1.RepeatRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.RepeatRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.RepeatRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1075,7 +1072,7 @@ public boolean getServerVerify() {
      * @return This builder for chaining.
      */
     public Builder setServerVerify(boolean value) {
-      
+
       serverVerify_ = value;
       bitField0_ |= 0x00000004;
       onChanged();
@@ -1225,7 +1222,7 @@ public int getFInt32() {
      * @return This builder for chaining.
      */
     public Builder setFInt32(int value) {
-      
+
       fInt32_ = value;
       bitField0_ |= 0x00000010;
       onChanged();
@@ -1262,7 +1259,7 @@ public long getFInt64() {
      * @return This builder for chaining.
      */
     public Builder setFInt64(long value) {
-      
+
       fInt64_ = value;
       bitField0_ |= 0x00000020;
       onChanged();
@@ -1294,7 +1291,7 @@ public double getFDouble() {
      * @return This builder for chaining.
      */
     public Builder setFDouble(double value) {
-      
+
       fDouble_ = value;
       bitField0_ |= 0x00000040;
       onChanged();
@@ -1334,7 +1331,7 @@ public int getPInt32() {
      * @return This builder for chaining.
      */
     public Builder setPInt32(int value) {
-      
+
       pInt32_ = value;
       bitField0_ |= 0x00000080;
       onChanged();
@@ -1374,7 +1371,7 @@ public long getPInt64() {
      * @return This builder for chaining.
      */
     public Builder setPInt64(long value) {
-      
+
       pInt64_ = value;
       bitField0_ |= 0x00000100;
       onChanged();
@@ -1414,7 +1411,7 @@ public double getPDouble() {
      * @return This builder for chaining.
      */
     public Builder setPDouble(double value) {
-      
+
       pDouble_ = value;
       bitField0_ |= 0x00000200;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatResponse.java
index 63fd1bfce6..228003f482 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RepeatResponse.java
@@ -26,11 +26,6 @@ protected java.lang.Object newInstance(
     return new RepeatResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.ComplianceOuterClass.internal_static_google_showcase_v1beta1_RepeatResponse_descriptor;
@@ -241,11 +236,13 @@ public static com.google.showcase.v1beta1.RepeatResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.RepeatResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.RepeatResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionRequest.java
index 1e8f5684a6..4051722504 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new ReportSessionRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ReportSessionRequest_descriptor;
@@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.ReportSessionRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ReportSessionRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ReportSessionRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionResponse.java
index aedf6530e7..ac665d3649 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ReportSessionResponse.java
@@ -31,11 +31,6 @@ protected java.lang.Object newInstance(
     return new ReportSessionResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_ReportSessionResponse_descriptor;
@@ -411,11 +406,13 @@ public static com.google.showcase.v1beta1.ReportSessionResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.ReportSessionResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.ReportSessionResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Room.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Room.java
index 037a9f645a..43388cf6a7 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Room.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Room.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new Room();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_Room_descriptor;
@@ -427,11 +422,13 @@ public static com.google.showcase.v1beta1.Room parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.Room parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.Room parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RoomName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RoomName.java
index b7ebbbad5d..ef6ac1d0fd 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RoomName.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/RoomName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsMetadata.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsMetadata.java
index b4209e5580..c86dbeb922 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsMetadata.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsMetadata.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new SearchBlurbsMetadata();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_SearchBlurbsMetadata_descriptor;
@@ -200,11 +195,13 @@ public static com.google.showcase.v1beta1.SearchBlurbsMetadata parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.SearchBlurbsMetadata parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.SearchBlurbsMetadata parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsRequest.java
index b98b0bc3a3..cd1eceaaf8 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsRequest.java
@@ -33,11 +33,6 @@ protected java.lang.Object newInstance(
     return new SearchBlurbsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_SearchBlurbsRequest_descriptor;
@@ -358,11 +353,13 @@ public static com.google.showcase.v1beta1.SearchBlurbsRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.SearchBlurbsRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.SearchBlurbsRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -840,7 +837,7 @@ public int getPageSize() {
      * @return This builder for chaining.
      */
     public Builder setPageSize(int value) {
-      
+
       pageSize_ = value;
       bitField0_ |= 0x00000004;
       onChanged();
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsResponse.java
index 56e558fcc1..ffc67d7e5c 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SearchBlurbsResponse.java
@@ -32,11 +32,6 @@ protected java.lang.Object newInstance(
     return new SearchBlurbsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_SearchBlurbsResponse_descriptor;
@@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.SearchBlurbsResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.SearchBlurbsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.SearchBlurbsResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SendBlurbsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SendBlurbsResponse.java
index cb3bc3bd39..b89d774f34 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SendBlurbsResponse.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SendBlurbsResponse.java
@@ -21,7 +21,8 @@ private SendBlurbsResponse(com.google.protobuf.GeneratedMessageV3.Builder bui
     super(builder);
   }
   private SendBlurbsResponse() {
-    names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    names_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
@@ -31,11 +32,6 @@ protected java.lang.Object newInstance(
     return new SendBlurbsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_SendBlurbsResponse_descriptor;
@@ -51,7 +47,8 @@ protected java.lang.Object newInstance(
 
   public static final int NAMES_FIELD_NUMBER = 1;
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList names_;
+  private com.google.protobuf.LazyStringArrayList names_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    * 
    * The names of successful blurb creations.
@@ -216,11 +213,13 @@ public static com.google.showcase.v1beta1.SendBlurbsResponse parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.SendBlurbsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.SendBlurbsResponse parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -301,8 +300,8 @@ private Builder(
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000001);
+      names_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
@@ -329,22 +328,17 @@ public com.google.showcase.v1beta1.SendBlurbsResponse build() {
     @java.lang.Override
     public com.google.showcase.v1beta1.SendBlurbsResponse buildPartial() {
       com.google.showcase.v1beta1.SendBlurbsResponse result = new com.google.showcase.v1beta1.SendBlurbsResponse(this);
-      buildPartialRepeatedFields(result);
       if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.showcase.v1beta1.SendBlurbsResponse result) {
-      if (((bitField0_ & 0x00000001) != 0)) {
-        names_ = names_.getUnmodifiableView();
-        bitField0_ = (bitField0_ & ~0x00000001);
-      }
-      result.names_ = names_;
-    }
-
     private void buildPartial0(com.google.showcase.v1beta1.SendBlurbsResponse result) {
       int from_bitField0_ = bitField0_;
+      if (((from_bitField0_ & 0x00000001) != 0)) {
+        names_.makeImmutable();
+        result.names_ = names_;
+      }
     }
 
     @java.lang.Override
@@ -394,7 +388,7 @@ public Builder mergeFrom(com.google.showcase.v1beta1.SendBlurbsResponse other) {
       if (!other.names_.isEmpty()) {
         if (names_.isEmpty()) {
           names_ = other.names_;
-          bitField0_ = (bitField0_ & ~0x00000001);
+          bitField0_ |= 0x00000001;
         } else {
           ensureNamesIsMutable();
           names_.addAll(other.names_);
@@ -450,12 +444,13 @@ public Builder mergeFrom(
     }
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList names_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     private void ensureNamesIsMutable() {
-      if (!((bitField0_ & 0x00000001) != 0)) {
+      if (!names_.isModifiable()) {
         names_ = new com.google.protobuf.LazyStringArrayList(names_);
-        bitField0_ |= 0x00000001;
-       }
+      }
+      bitField0_ |= 0x00000001;
     }
     /**
      * 
@@ -467,7 +462,8 @@ private void ensureNamesIsMutable() {
      */
     public com.google.protobuf.ProtocolStringList
         getNamesList() {
-      return names_.getUnmodifiableView();
+      names_.makeImmutable();
+      return names_;
     }
     /**
      * 
@@ -520,6 +516,7 @@ public Builder setNames(
       if (value == null) { throw new NullPointerException(); }
       ensureNamesIsMutable();
       names_.set(index, value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -537,6 +534,7 @@ public Builder addNames(
       if (value == null) { throw new NullPointerException(); }
       ensureNamesIsMutable();
       names_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -554,6 +552,7 @@ public Builder addAllNames(
       ensureNamesIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(
           values, names_);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -566,8 +565,9 @@ public Builder addAllNames(
      * @return This builder for chaining.
      */
     public Builder clearNames() {
-      names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000001);
+      names_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+      bitField0_ = (bitField0_ & ~0x00000001);;
       onChanged();
       return this;
     }
@@ -586,6 +586,7 @@ public Builder addNamesBytes(
       checkByteStringIsUtf8(value);
       ensureNamesIsMutable();
       names_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Sequence.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Sequence.java
index 3f9f233beb..29245079fe 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Sequence.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Sequence.java
@@ -27,11 +27,6 @@ protected java.lang.Object newInstance(
     return new Sequence();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_Sequence_descriptor;
@@ -129,11 +124,6 @@ protected java.lang.Object newInstance(
       return new Response();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_Sequence_Response_descriptor;
@@ -353,11 +343,13 @@ public static com.google.showcase.v1beta1.Sequence.Response parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static com.google.showcase.v1beta1.Sequence.Response parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.showcase.v1beta1.Sequence.Response parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1198,11 +1190,13 @@ public static com.google.showcase.v1beta1.Sequence parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.Sequence parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.Sequence parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceName.java
index 067bb15adb..67bc2719aa 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceName.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceOuterClass.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceOuterClass.java
index a4b1da88d7..6536285f94 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceOuterClass.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceOuterClass.java
@@ -105,91 +105,91 @@ public static void registerAllExtensions(
       "\032\031google/api/resource.proto\032\036google/prot" +
       "obuf/duration.proto\032\033google/protobuf/emp" +
       "ty.proto\032\037google/protobuf/timestamp.prot" +
-      "o\032\027google/rpc/status.proto\"\363\001\n\010Sequence\022" +
-      "\021\n\004name\030\001 \001(\tB\003\340A\003\022=\n\tresponses\030\002 \003(\0132*." +
-      "google.showcase.v1beta1.Sequence.Respons" +
-      "e\032X\n\010Response\022\"\n\006status\030\001 \001(\0132\022.google.r" +
-      "pc.Status\022(\n\005delay\030\002 \001(\0132\031.google.protob" +
-      "uf.Duration:;\352A8\n showcase.googleapis.co" +
-      "m/Sequence\022\024sequences/{sequence}\"\312\002\n\021Str" +
-      "eamingSequence\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\017\n\007con" +
-      "tent\030\002 \001(\t\022F\n\tresponses\030\003 \003(\01323.google.s" +
-      "howcase.v1beta1.StreamingSequence.Respon" +
-      "se\032p\n\010Response\022\"\n\006status\030\001 \001(\0132\022.google." +
+      "o\032\027google/rpc/status.proto\"\364\001\n\010Sequence\022" +
+      "\022\n\004name\030\001 \001(\tB\004\342A\001\003\022=\n\tresponses\030\002 \003(\0132*" +
+      ".google.showcase.v1beta1.Sequence.Respon" +
+      "se\032X\n\010Response\022\"\n\006status\030\001 \001(\0132\022.google." +
       "rpc.Status\022(\n\005delay\030\002 \001(\0132\031.google.proto" +
-      "buf.Duration\022\026\n\016response_index\030\003 \001(\005:W\352A" +
-      "T\n)showcase.googleapis.com/StreamingSequ" +
-      "ence\022\'streamingSequences/{streaming_sequ" +
-      "ence}\"\350\003\n\027StreamingSequenceReport\022\021\n\004nam" +
-      "e\030\001 \001(\tB\003\340A\003\022J\n\010attempts\030\002 \003(\01328.google." +
-      "showcase.v1beta1.StreamingSequenceReport" +
-      ".Attempt\032\366\001\n\007Attempt\022\026\n\016attempt_number\030\001" +
-      " \001(\005\0224\n\020attempt_deadline\030\002 \001(\0132\032.google." +
-      "protobuf.Timestamp\0221\n\rresponse_time\030\003 \001(" +
-      "\0132\032.google.protobuf.Timestamp\0220\n\rattempt" +
-      "_delay\030\004 \001(\0132\031.google.protobuf.Duration\022" +
-      "\"\n\006status\030\005 \001(\0132\022.google.rpc.Status\022\024\n\014c" +
-      "ontent_sent\030\006 \001(\t:u\352Ar\n/showcase.googlea" +
-      "pis.com/StreamingSequenceReport\022?streami" +
-      "ngSequences/{streaming_sequence}/streami" +
-      "ngSequenceReport\"\233\003\n\016SequenceReport\022\021\n\004n" +
-      "ame\030\001 \001(\tB\003\340A\003\022A\n\010attempts\030\002 \003(\0132/.googl" +
-      "e.showcase.v1beta1.SequenceReport.Attemp" +
-      "t\032\340\001\n\007Attempt\022\026\n\016attempt_number\030\001 \001(\005\0224\n" +
-      "\020attempt_deadline\030\002 \001(\0132\032.google.protobu" +
-      "f.Timestamp\0221\n\rresponse_time\030\003 \001(\0132\032.goo" +
-      "gle.protobuf.Timestamp\0220\n\rattempt_delay\030" +
-      "\004 \001(\0132\031.google.protobuf.Duration\022\"\n\006stat" +
-      "us\030\005 \001(\0132\022.google.rpc.Status:P\352AM\n&showc" +
-      "ase.googleapis.com/SequenceReport\022#seque" +
-      "nces/{sequence}/sequenceReport\"L\n\025Create" +
-      "SequenceRequest\0223\n\010sequence\030\001 \001(\0132!.goog" +
-      "le.showcase.v1beta1.Sequence\"h\n\036CreateSt" +
-      "reamingSequenceRequest\022F\n\022streaming_sequ" +
-      "ence\030\001 \001(\0132*.google.showcase.v1beta1.Str" +
-      "eamingSequence\"P\n\026AttemptSequenceRequest" +
-      "\0226\n\004name\030\001 \001(\tB(\372A\"\n showcase.googleapis" +
-      ".com/Sequence\340A\002\"b\n\037AttemptStreamingSequ" +
-      "enceRequest\022?\n\004name\030\001 \001(\tB1\372A+\n)showcase" +
-      ".googleapis.com/StreamingSequence\340A\002\"3\n " +
-      "AttemptStreamingSequenceResponse\022\017\n\007cont" +
-      "ent\030\001 \001(\t\"X\n\030GetSequenceReportRequest\022<\n" +
-      "\004name\030\001 \001(\tB.\372A(\n&showcase.googleapis.co" +
-      "m/SequenceReport\340A\002\"j\n!GetStreamingSeque" +
-      "nceReportRequest\022E\n\004name\030\001 \001(\tB7\372A1\n/sho" +
-      "wcase.googleapis.com/StreamingSequenceRe" +
-      "port\340A\0022\360\010\n\017SequenceService\022\224\001\n\016CreateSe" +
-      "quence\022..google.showcase.v1beta1.CreateS" +
-      "equenceRequest\032!.google.showcase.v1beta1" +
-      ".Sequence\"/\202\323\344\223\002\036\"\022/v1beta1/sequences:\010s" +
-      "equence\332A\010sequence\022\314\001\n\027CreateStreamingSe" +
-      "quence\0227.google.showcase.v1beta1.CreateS" +
-      "treamingSequenceRequest\032*.google.showcas" +
-      "e.v1beta1.StreamingSequence\"L\202\323\344\223\0021\"\033/v1" +
-      "beta1/streamingSequences:\022streaming_sequ" +
-      "ence\332A\022streaming_sequence\022\252\001\n\021GetSequenc" +
-      "eReport\0221.google.showcase.v1beta1.GetSeq" +
-      "uenceReportRequest\032\'.google.showcase.v1b" +
-      "eta1.SequenceReport\"9\202\323\344\223\002,\022*/v1beta1/{n" +
-      "ame=sequences/*/sequenceReport}\332A\004name\022\327" +
-      "\001\n\032GetStreamingSequenceReport\022:.google.s" +
-      "howcase.v1beta1.GetStreamingSequenceRepo" +
-      "rtRequest\0320.google.showcase.v1beta1.Stre" +
-      "amingSequenceReport\"K\202\323\344\223\002>\022\022
  * A session is a suite of tests, generally being made in the context
  * of testing code generation.
+ *
  * A session defines tests it may expect, based on which version of the
  * code generation spec is in use.
  * 
@@ -34,11 +35,6 @@ protected java.lang.Object newInstance( return new Session(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Session_descriptor; @@ -392,11 +388,13 @@ public static com.google.showcase.v1beta1.Session parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.Session parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.Session parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -442,6 +440,7 @@ protected Builder newBuilderForType( *
    * A session is a suite of tests, generally being made in the context
    * of testing code generation.
+   *
    * A session defines tests it may expect, based on which version of the
    * code generation spec is in use.
    * 
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SessionName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SessionName.java index a205c1272d..3a19397c03 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SessionName.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SessionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsRequest.java index 0c9520f6db..7bc237e8fa 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsRequest.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new StreamBlurbsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_StreamBlurbsRequest_descriptor; @@ -258,11 +253,13 @@ public static com.google.showcase.v1beta1.StreamBlurbsRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamBlurbsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamBlurbsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsResponse.java index 5310bca677..9246127242 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamBlurbsResponse.java @@ -31,11 +31,6 @@ protected java.lang.Object newInstance( return new StreamBlurbsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_StreamBlurbsResponse_descriptor; @@ -391,11 +386,13 @@ public static com.google.showcase.v1beta1.StreamBlurbsResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamBlurbsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamBlurbsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequence.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequence.java index 2dd907992e..78e297002a 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequence.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequence.java @@ -28,11 +28,6 @@ protected java.lang.Object newInstance( return new StreamingSequence(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_StreamingSequence_descriptor; @@ -140,11 +135,6 @@ protected java.lang.Object newInstance( return new Response(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_StreamingSequence_Response_descriptor; @@ -390,11 +380,13 @@ public static com.google.showcase.v1beta1.StreamingSequence.Response parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamingSequence.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamingSequence.Response parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -981,7 +973,7 @@ public int getResponseIndex() { * @return This builder for chaining. */ public Builder setResponseIndex(int value) { - + responseIndex_ = value; bitField0_ |= 0x00000004; onChanged(); @@ -1348,11 +1340,13 @@ public static com.google.showcase.v1beta1.StreamingSequence parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamingSequence parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamingSequence parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceName.java index 8adcda635f..cd67420318 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceName.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReport.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReport.java index e25e3e3e32..011be18358 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReport.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReport.java @@ -27,11 +27,6 @@ protected java.lang.Object newInstance( return new StreamingSequenceReport(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_StreamingSequenceReport_descriptor; @@ -212,11 +207,6 @@ protected java.lang.Object newInstance( return new Attempt(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.SequenceOuterClass.internal_static_google_showcase_v1beta1_StreamingSequenceReport_Attempt_descriptor; @@ -625,11 +615,13 @@ public static com.google.showcase.v1beta1.StreamingSequenceReport.Attempt parseF return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamingSequenceReport.Attempt parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamingSequenceReport.Attempt parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -960,7 +952,7 @@ public int getAttemptNumber() { * @return This builder for chaining. */ public Builder setAttemptNumber(int value) { - + attemptNumber_ = value; bitField0_ |= 0x00000001; onChanged(); @@ -1975,11 +1967,13 @@ public static com.google.showcase.v1beta1.StreamingSequenceReport parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.StreamingSequenceReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.StreamingSequenceReport parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReportName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReportName.java index 106c07e1f9..2f636a4005 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReportName.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/StreamingSequenceReportName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Test.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Test.java index 23df212ac0..3b5d3be9b0 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Test.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/Test.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new Test(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Test_descriptor; @@ -71,8 +66,10 @@ public enum ExpectationLevel /** *
      * This test is recommended.
+     *
      * If a generator explicitly ignores a recommended test (see `DeleteTest`),
      * then the report may still pass, but with a warning.
+     *
      * If a generator skips a recommended test and does not explicitly
      * express that intention, the report will fail.
      * 
@@ -83,8 +80,10 @@ public enum ExpectationLevel /** *
      * This test is optional.
+     *
      * If a generator explicitly ignores an optional test (see `DeleteTest`),
      * then the report may still pass, and no warning will be issued.
+     *
      * If a generator skips an optional test and does not explicitly
      * express that intention, the report may still pass, but with a
      * warning.
@@ -111,8 +110,10 @@ public enum ExpectationLevel
     /**
      * 
      * This test is recommended.
+     *
      * If a generator explicitly ignores a recommended test (see `DeleteTest`),
      * then the report may still pass, but with a warning.
+     *
      * If a generator skips a recommended test and does not explicitly
      * express that intention, the report will fail.
      * 
@@ -123,8 +124,10 @@ public enum ExpectationLevel /** *
      * This test is optional.
+     *
      * If a generator explicitly ignores an optional test (see `DeleteTest`),
      * then the report may still pass, and no warning will be issued.
+     *
      * If a generator skips an optional test and does not explicitly
      * express that intention, the report may still pass, but with a
      * warning.
@@ -366,11 +369,6 @@ protected java.lang.Object newInstance(
       return new Blueprint();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Test_Blueprint_descriptor;
@@ -446,11 +444,6 @@ protected java.lang.Object newInstance(
         return new Invocation();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_Test_Blueprint_Invocation_descriptor;
@@ -645,11 +638,13 @@ public static com.google.showcase.v1beta1.Test.Blueprint.Invocation parseFrom(
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static com.google.showcase.v1beta1.Test.Blueprint.Invocation parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static com.google.showcase.v1beta1.Test.Blueprint.Invocation parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1416,11 +1411,13 @@ public static com.google.showcase.v1beta1.Test.Blueprint parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static com.google.showcase.v1beta1.Test.Blueprint parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.showcase.v1beta1.Test.Blueprint parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2787,11 +2784,13 @@ public static com.google.showcase.v1beta1.Test parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.Test parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.Test parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestName.java
index fb2855113a..bea1ef0177 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestName.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestRun.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestRun.java
index be4f7a4af2..68f8fe689d 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestRun.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestRun.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new TestRun();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_TestRun_descriptor;
@@ -261,11 +256,13 @@ public static com.google.showcase.v1beta1.TestRun parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.TestRun parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.TestRun parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateBlurbRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateBlurbRequest.java
index 1836baf1a4..693e11388d 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateBlurbRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateBlurbRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new UpdateBlurbRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_UpdateBlurbRequest_descriptor;
@@ -257,11 +252,13 @@ public static com.google.showcase.v1beta1.UpdateBlurbRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.UpdateBlurbRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.UpdateBlurbRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateRoomRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateRoomRequest.java
index 1fdf515410..bc7c2ce2ec 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateRoomRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateRoomRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new UpdateRoomRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.MessagingOuterClass.internal_static_google_showcase_v1beta1_UpdateRoomRequest_descriptor;
@@ -257,11 +252,13 @@ public static com.google.showcase.v1beta1.UpdateRoomRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.UpdateRoomRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.UpdateRoomRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateUserRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateUserRequest.java
index 81d5c7b720..af856bda97 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateUserRequest.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UpdateUserRequest.java
@@ -30,11 +30,6 @@ protected java.lang.Object newInstance(
     return new UpdateUserRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_UpdateUserRequest_descriptor;
@@ -257,11 +252,13 @@ public static com.google.showcase.v1beta1.UpdateUserRequest parseFrom(
     return com.google.protobuf.GeneratedMessageV3
         .parseWithIOException(PARSER, input, extensionRegistry);
   }
+
   public static com.google.showcase.v1beta1.UpdateUserRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
     return com.google.protobuf.GeneratedMessageV3
         .parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.showcase.v1beta1.UpdateUserRequest parseDelimitedFrom(
       java.io.InputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/User.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/User.java
index 225f7a2fac..c52585f30f 100644
--- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/User.java
+++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/User.java
@@ -33,11 +33,6 @@ protected java.lang.Object newInstance(
     return new User();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
   public static final com.google.protobuf.Descriptors.Descriptor
       getDescriptor() {
     return com.google.showcase.v1beta1.IdentityOuterClass.internal_static_google_showcase_v1beta1_User_descriptor;
@@ -329,6 +324,7 @@ public double getHeightFeet() {
   /**
    * 
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -343,6 +339,7 @@ public boolean hasNickname() { /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -366,6 +363,7 @@ public java.lang.String getNickname() { /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -393,6 +391,7 @@ public java.lang.String getNickname() { /** *
    * Enables the receiving of notifications. The default is true if unset.
+   *
    * (-- aip.dev/not-precedent: The default for the feature is true.
    *     Ordinarily, the default for a `bool` field should be false. --)
    * 
@@ -407,6 +406,7 @@ public boolean hasEnableNotifications() { /** *
    * Enables the receiving of notifications. The default is true if unset.
+   *
    * (-- aip.dev/not-precedent: The default for the feature is true.
    *     Ordinarily, the default for a `bool` field should be false. --)
    * 
@@ -645,11 +645,13 @@ public static com.google.showcase.v1beta1.User parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.User parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.User parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1610,7 +1612,7 @@ public int getAge() { * @return This builder for chaining. */ public Builder setAge(int value) { - + age_ = value; bitField0_ |= 0x00000020; onChanged(); @@ -1666,7 +1668,7 @@ public double getHeightFeet() { * @return This builder for chaining. */ public Builder setHeightFeet(double value) { - + heightFeet_ = value; bitField0_ |= 0x00000040; onChanged(); @@ -1691,6 +1693,7 @@ public Builder clearHeightFeet() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1704,6 +1707,7 @@ public boolean hasNickname() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1726,6 +1730,7 @@ public java.lang.String getNickname() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1749,6 +1754,7 @@ public java.lang.String getNickname() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1768,6 +1774,7 @@ public Builder setNickname( /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1784,6 +1791,7 @@ public Builder clearNickname() { /** *
      * The nickname of the user.
+     *
      * (-- aip.dev/not-precedent: An empty string is a valid nickname.
      *     Ordinarily, proto3_optional should not be used on a `string` field. --)
      * 
@@ -1806,6 +1814,7 @@ public Builder setNicknameBytes( /** *
      * Enables the receiving of notifications. The default is true if unset.
+     *
      * (-- aip.dev/not-precedent: The default for the feature is true.
      *     Ordinarily, the default for a `bool` field should be false. --)
      * 
@@ -1820,6 +1829,7 @@ public boolean hasEnableNotifications() { /** *
      * Enables the receiving of notifications. The default is true if unset.
+     *
      * (-- aip.dev/not-precedent: The default for the feature is true.
      *     Ordinarily, the default for a `bool` field should be false. --)
      * 
@@ -1834,6 +1844,7 @@ public boolean getEnableNotifications() { /** *
      * Enables the receiving of notifications. The default is true if unset.
+     *
      * (-- aip.dev/not-precedent: The default for the feature is true.
      *     Ordinarily, the default for a `bool` field should be false. --)
      * 
@@ -1843,7 +1854,7 @@ public boolean getEnableNotifications() { * @return This builder for chaining. */ public Builder setEnableNotifications(boolean value) { - + enableNotifications_ = value; bitField0_ |= 0x00000100; onChanged(); @@ -1852,6 +1863,7 @@ public Builder setEnableNotifications(boolean value) { /** *
      * Enables the receiving of notifications. The default is true if unset.
+     *
      * (-- aip.dev/not-precedent: The default for the feature is true.
      *     Ordinarily, the default for a `bool` field should be false. --)
      * 
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserName.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserName.java index df5a3618b7..aa6a75a6be 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserName.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserOrBuilder.java index 25f08bb513..9d3e0d0ca4 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserOrBuilder.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/UserOrBuilder.java @@ -162,6 +162,7 @@ public interface UserOrBuilder extends /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -173,6 +174,7 @@ public interface UserOrBuilder extends /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -184,6 +186,7 @@ public interface UserOrBuilder extends /** *
    * The nickname of the user.
+   *
    * (-- aip.dev/not-precedent: An empty string is a valid nickname.
    *     Ordinarily, proto3_optional should not be used on a `string` field. --)
    * 
@@ -197,6 +200,7 @@ public interface UserOrBuilder extends /** *
    * Enables the receiving of notifications. The default is true if unset.
+   *
    * (-- aip.dev/not-precedent: The default for the feature is true.
    *     Ordinarily, the default for a `bool` field should be false. --)
    * 
@@ -208,6 +212,7 @@ public interface UserOrBuilder extends /** *
    * Enables the receiving of notifications. The default is true if unset.
+   *
    * (-- aip.dev/not-precedent: The default for the feature is true.
    *     Ordinarily, the default for a `bool` field should be false. --)
    * 
diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestRequest.java index d0687846be..88204b80f0 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestRequest.java @@ -28,11 +28,6 @@ protected java.lang.Object newInstance( return new VerifyTestRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_VerifyTestRequest_descriptor; @@ -285,11 +280,13 @@ public static com.google.showcase.v1beta1.VerifyTestRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.VerifyTestRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.VerifyTestRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestResponse.java index 54b08318fd..a571f339e0 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/VerifyTestResponse.java @@ -25,11 +25,6 @@ protected java.lang.Object newInstance( return new VerifyTestResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.TestingOuterClass.internal_static_google_showcase_v1beta1_VerifyTestResponse_descriptor; @@ -195,11 +190,13 @@ public static com.google.showcase.v1beta1.VerifyTestResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.VerifyTestResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.VerifyTestResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitMetadata.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitMetadata.java index 532eedcb00..feb5919990 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitMetadata.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitMetadata.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new WaitMetadata(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_WaitMetadata_descriptor; @@ -199,11 +194,13 @@ public static com.google.showcase.v1beta1.WaitMetadata parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.WaitMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.WaitMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequest.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequest.java index 58dfeb2365..b39472054d 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequest.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequest.java @@ -29,11 +29,6 @@ protected java.lang.Object newInstance( return new WaitRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_WaitRequest_descriptor; @@ -48,6 +43,7 @@ protected java.lang.Object newInstance( } private int endCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object end_; public enum EndCase implements com.google.protobuf.Internal.EnumLite, @@ -89,6 +85,7 @@ public int getNumber() { } private int responseCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object response_; public enum ResponseCase implements com.google.protobuf.Internal.EnumLite, @@ -480,11 +477,13 @@ public static com.google.showcase.v1beta1.WaitRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.WaitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.WaitRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequestOrBuilder.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequestOrBuilder.java index 1050530f9c..0f00788847 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequestOrBuilder.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitRequestOrBuilder.java @@ -118,7 +118,7 @@ public interface WaitRequestOrBuilder extends */ com.google.showcase.v1beta1.WaitResponseOrBuilder getSuccessOrBuilder(); - public com.google.showcase.v1beta1.WaitRequest.EndCase getEndCase(); + com.google.showcase.v1beta1.WaitRequest.EndCase getEndCase(); - public com.google.showcase.v1beta1.WaitRequest.ResponseCase getResponseCase(); + com.google.showcase.v1beta1.WaitRequest.ResponseCase getResponseCase(); } diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitResponse.java b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitResponse.java index 4c9d077850..0a11dc26db 100644 --- a/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitResponse.java +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/WaitResponse.java @@ -30,11 +30,6 @@ protected java.lang.Object newInstance( return new WaitResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.showcase.v1beta1.EchoOuterClass.internal_static_google_showcase_v1beta1_WaitResponse_descriptor; @@ -203,11 +198,13 @@ public static com.google.showcase.v1beta1.WaitResponse parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static com.google.showcase.v1beta1.WaitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static com.google.showcase.v1beta1.WaitResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/compliance.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/compliance.proto new file mode 100755 index 0000000000..9b6c0b7d75 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/compliance.proto @@ -0,0 +1,269 @@ +// Copyright 2021 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. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// This service is used to test that GAPICs implement various REST-related features correctly. This mostly means transcoding proto3 requests to REST format +// correctly for various types of HTTP annotations, but it also includes verifying that unknown (numeric) enums received by clients can be round-tripped +// correctly. +service Compliance { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // This method echoes the ComplianceData request. This method exercises + // sending the entire request object in the REST body. + rpc RepeatDataBody(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + post: "/v1beta1/repeat:body" + body: "*" + }; + } + + // This method echoes the ComplianceData request. This method exercises + // sending the a message-type field in the REST body. Per AIP-127, only + // top-level, non-repeated fields can be sent this way. + rpc RepeatDataBodyInfo(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + post: "/v1beta1/repeat:bodyinfo" + body: "info" + }; + } + + // This method echoes the ComplianceData request. This method exercises + // sending all request fields as query parameters. + rpc RepeatDataQuery(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + get: "/v1beta1/repeat:query" + }; + } + + // This method echoes the ComplianceData request. This method exercises + // sending some parameters as "simple" path variables (i.e., of the form + // "/bar/{foo}" rather than "/{foo=bar/*}"), and the rest as query parameters. + rpc RepeatDataSimplePath(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + get: "/v1beta1/repeat/{info.f_string}/{info.f_int32}/{info.f_double}/{info.f_bool}/{info.f_kingdom}:simplepath" + }; + } + + // Same as RepeatDataSimplePath, but with a path resource. + rpc RepeatDataPathResource(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + get: "/v1beta1/repeat/{info.f_string=first/*}/{info.f_child.f_string=second/*}/bool/{info.f_bool}:pathresource" + additional_bindings { + get: "/v1beta1/repeat/{info.f_child.f_string=first/*}/{info.f_string=second/*}/bool/{info.f_bool}:childfirstpathresource" + } + }; + } + + // Same as RepeatDataSimplePath, but with a trailing resource. + rpc RepeatDataPathTrailingResource(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + get: "/v1beta1/repeat/{info.f_string=first/*}/{info.f_child.f_string=second/**}:pathtrailingresource" + }; + } + + // This method echoes the ComplianceData request, using the HTTP PUT method. + rpc RepeatDataBodyPut(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + put: "/v1beta1/repeat:bodyput" + body: "*" + }; + } + + // This method echoes the ComplianceData request, using the HTTP PATCH method. + rpc RepeatDataBodyPatch(RepeatRequest) returns (RepeatResponse) { + option (google.api.http) = { + patch: "/v1beta1/repeat:bodypatch" + body: "*" + }; + } + + // This method requests an enum value from the server. Depending on the contents of EnumRequest, the enum value returned will be a known enum declared in the + // .proto file, or a made-up enum value the is unknown to the client. To verify that clients can round-trip unknown enum vaues they receive, use the + // response from this RPC as the request to VerifyEnum() + // + // The values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run (this is needed for + // VerifyEnum() to work) but are not guaranteed to be the same across separate Showcase server runs. + rpc GetEnum(EnumRequest) returns (EnumResponse) { + option (google.api.http) = { + get: "/v1beta1/compliance/enum" + }; + } + + // This method is used to verify that clients can round-trip enum values, which is particularly important for unknown enum values over REST. VerifyEnum() + // verifies that its request, which is presumably the response that the client previously got to a GetEnum(), contains the correct data. If so, it responds + // with the same EnumResponse; otherwise, the RPC errors. + // + // This works because the values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run, + // although they are not guaranteed to be the same across separate Showcase server runs. + rpc VerifyEnum(EnumResponse) returns (EnumResponse) { + option (google.api.http) = { + post: "/v1beta1/compliance/enum" + }; + } + +} + +message RepeatRequest { + string name = 1; + ComplianceData info = 2; + + // If true, the server will verify that the received request matches + // the request with the same name in the compliance test suite. + bool server_verify = 3; + + // The URI template this request is expected to be bound to server-side. + optional string intended_binding_uri = 10; + + // Some top level fields, to test that these are encoded correctly + // in query params. + int32 f_int32 = 4; + int64 f_int64 = 5; + double f_double = 6; + + optional int32 p_int32 = 7; + optional int64 p_int64 = 8; + optional double p_double = 9; +} + +message RepeatResponse { + RepeatRequest request = 1; + + // The URI template the request was bound to server-side. + string binding_uri = 2; +} + +// ComplianceSuite contains a set of requests that microgenerators should issue +// over REST to the Compliance service to test their gRPC-to-REST transcoding +// implementation. +message ComplianceSuite { + repeated ComplianceGroup group = 1; +} + +// ComplianceGroups encapsulates a group of RPC requests to the Compliance +// server: one request for each combination of elements of `rpcs` and of +// `requests`. +message ComplianceGroup { + string name = 1; + repeated string rpcs = 2; + repeated RepeatRequest requests = 3; +} + +// ComplianceData is a message used for testing REST transcoding of +// different data types. +message ComplianceData { + enum LifeKingdom { + LIFE_KINGDOM_UNSPECIFIED = 0; + ARCHAEBACTERIA = 1; + EUBACTERIA = 2; + PROTISTA = 3; + FUNGI = 4; + PLANTAE = 5; + ANIMALIA = 6; +} + // scalar types + + string f_string = 1; + + int32 f_int32 = 2; + sint32 f_sint32 = 3; + sfixed32 f_sfixed32 = 4; + + uint32 f_uint32 = 5; + fixed32 f_fixed32 = 6; + + int64 f_int64 = 7; + sint64 f_sint64 = 8; + sfixed64 f_sfixed64 = 9; + + uint64 f_uint64 = 10; + fixed64 f_fixed64 = 11; + + double f_double = 12; + float f_float = 13; + + bool f_bool = 14; + + bytes f_bytes = 15; + + LifeKingdom f_kingdom = 22; + + ComplianceDataChild f_child = 16; + + // optional fields + + optional string p_string = 17; + optional int32 p_int32 = 18; + optional double p_double = 19; + optional bool p_bool = 20; + optional LifeKingdom p_kingdom = 23; + optional ComplianceDataChild p_child = 21; +} + +message ComplianceDataChild { + string f_string = 1; + float f_float = 2; + double f_double = 3; + bool f_bool = 4; + Continent f_continent = 11; + ComplianceDataGrandchild f_child = 5; + + optional string p_string = 6; + optional float p_float = 7; + optional double p_double = 8; + optional bool p_bool = 9; + Continent p_continent = 12; + optional ComplianceDataGrandchild p_child = 10; +} + +message ComplianceDataGrandchild { + string f_string = 1; + double f_double = 2; + bool f_bool = 3; +} + +enum Continent { + CONTINENT_UNSPECIFIED = 0; + AFRICA = 1; + AMERICA = 2; + ANTARTICA = 3; + AUSTRALIA = 4; + EUROPE = 5; +} + + +message EnumRequest { + // Whether the client is requesting a new, unknown enum value or a known enum value already declard in this proto file. + bool unknown_enum = 1; +} + +message EnumResponse { + // The original request for a known or unknown enum from the server. + EnumRequest request = 1; + + // The actual enum the server provided. + Continent continent = 2; +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/echo.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/echo.proto new file mode 100755 index 0000000000..3f79b44571 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/echo.proto @@ -0,0 +1,325 @@ +// Copyright 2018 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. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/routing.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// This service is used showcase the four main types of rpcs - unary, server +// side streaming, client side streaming, and bidirectional streaming. This +// service also exposes methods that explicitly implement server delay, and +// paginated calls. Set the 'showcase-trailer' metadata key on any method +// to have the values echoed in the response trailers. Set the +// 'x-goog-request-params' metadata key on any method to have the values +// echoed in the response headers. +service Echo { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // This method simply echoes the request. This method showcases unary RPCs. + rpc Echo(EchoRequest) returns (EchoResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:echo" + body: "*" + }; + option (google.api.routing) = { + routing_parameters{ + field: "header" + } + routing_parameters{ + field: "header" + path_template: "{routing_id=**}" + } + routing_parameters{ + field: "header" + path_template: "{table_name=regions/*/zones/*/**}" + } + routing_parameters{ + field: "header" + path_template: "{super_id=projects/*}/**" + } + routing_parameters{ + field: "header" + path_template: "{table_name=projects/*/instances/*/**}" + } + routing_parameters{ + field: "header" + path_template: "projects/*/{instance_id=instances/*}/**" + } + routing_parameters{ + field: "other_header" + path_template: "{baz=**}" + } + routing_parameters{ + field: "other_header" + path_template: "{qux=projects/*}/**" + } + }; + } + + // This method splits the given content into words and will pass each word back + // through the stream. This method showcases server-side streaming RPCs. + rpc Expand(ExpandRequest) returns (stream EchoResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:expand" + body: "*" + }; + // TODO(landrito): change this to be `fields: ["content", "error"]` once + // github.com/dcodeIO/protobuf.js/issues/1094 has been resolved. + option (google.api.method_signature) = "content,error"; + } + + // This method will collect the words given to it. When the stream is closed + // by the client, this method will return the a concatenation of the strings + // passed to it. This method showcases client-side streaming RPCs. + rpc Collect(stream EchoRequest) returns (EchoResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:collect" + body: "*" + }; + } + + // This method, upon receiving a request on the stream, will pass the same + // content back on the stream. This method showcases bidirectional + // streaming RPCs. + rpc Chat(stream EchoRequest) returns (stream EchoResponse); + + // This is similar to the Expand method but instead of returning a stream of + // expanded words, this method returns a paged list of expanded words. + rpc PagedExpand(PagedExpandRequest) returns (PagedExpandResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:pagedExpand" + body: "*" + }; + } + + // This is similar to the PagedExpand except that it uses + // max_results instead of page_size, as some legacy APIs still + // do. New APIs should NOT use this pattern. + rpc PagedExpandLegacy(PagedExpandLegacyRequest) returns (PagedExpandResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:pagedExpandLegacy" + body: "*" + }; + } + + // This method returns a map containing lists of words that appear in the input, keyed by their + // initial character. The only words returned are the ones included in the current page, + // as determined by page_token and page_size, which both refer to the word indices in the + // input. This paging result consisting of a map of lists is a pattern used by some legacy + // APIs. New APIs should NOT use this pattern. + rpc PagedExpandLegacyMapped(PagedExpandRequest) returns (PagedExpandLegacyMappedResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:pagedExpandLegacyMapped" + body: "*" + }; + } + + // This method will wait for the requested amount of time and then return. + // This method showcases how a client handles a request timeout. + rpc Wait(WaitRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/echo:wait" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "WaitResponse" + metadata_type: "WaitMetadata" + }; + } + + // This method will block (wait) for the requested amount of time + // and then return the response or error. + // This method showcases how a client handles delays or retries. + rpc Block(BlockRequest) returns (BlockResponse) { + option (google.api.http) = { + post: "/v1beta1/echo:block" + body: "*" + }; + }; +} + +// A severity enum used to test enum capabilities in GAPIC surfaces. +enum Severity { + UNNECESSARY = 0; + NECESSARY = 1; + URGENT = 2; + CRITICAL = 3; +} + + +// The request message used for the Echo, Collect and Chat methods. +// If content or opt are set in this message then the request will succeed. +// If status is set in this message then the status will be returned as an +// error. +message EchoRequest { + oneof response { + // The content to be echoed by the server. + string content = 1; + + // The error to be thrown by the server. + google.rpc.Status error = 2; + } + + // The severity to be echoed by the server. + Severity severity = 3; + + // Optional. This field can be set to test the routing annotation on the Echo method. + string header = 4; + + // Optional. This field can be set to test the routing annotation on the Echo method. + string other_header = 5; +} + +// The response message for the Echo methods. +message EchoResponse { + // The content specified in the request. + string content = 1; + + // The severity specified in the request. + Severity severity = 2; +} + +// The request message for the Expand method. +message ExpandRequest { + // The content that will be split into words and returned on the stream. + string content = 1; + + // The error that is thrown after all words are sent on the stream. + google.rpc.Status error = 2; + + //The wait time between each server streaming messages + google.protobuf.Duration stream_wait_time = 3; +} + +// The request for the PagedExpand method. +message PagedExpandRequest { + // The string to expand. + string content = 1 [(google.api.field_behavior) = REQUIRED]; + + // The number of words to returned in each page. + int32 page_size = 2; + + // The position of the page to be returned. + string page_token = 3; +} + +// The request for the PagedExpandLegacy method. This is a pattern used by some legacy APIs. New +// APIs should NOT use this pattern, but rather something like PagedExpandRequest which conforms to +// aip.dev/158. +message PagedExpandLegacyRequest { + // The string to expand. + string content = 1 [(google.api.field_behavior) = REQUIRED]; + + // The number of words to returned in each page. + // (-- aip.dev/not-precedent: This is a legacy, non-standard pattern that + // violates aip.dev/158. Ordinarily, this should be page_size. --) + int32 max_results = 2; + + // The position of the page to be returned. + string page_token = 3; +} + +// The response for the PagedExpand method. +message PagedExpandResponse { + // The words that were expanded. + repeated EchoResponse responses = 1; + + // The next page token. + string next_page_token = 2; +} + +// A list of words. +message PagedExpandResponseList { + repeated string words = 1; +} + +message PagedExpandLegacyMappedResponse { + // The words that were expanded, indexed by their initial character. + // (-- aip.dev/not-precedent: This is a legacy, non-standard pattern that violates + // aip.dev/158. Ordinarily, this should be a `repeated` field, as in PagedExpandResponse. --) + map alphabetized = 1; + + // The next page token. + string next_page_token = 2; +} + +// The request for Wait method. +message WaitRequest { + oneof end { + // The time that this operation will complete. + google.protobuf.Timestamp end_time = 1; + + // The duration of this operation. + google.protobuf.Duration ttl = 4; + } + + oneof response { + // The error that will be returned by the server. If this code is specified + // to be the OK rpc code, an empty response will be returned. + google.rpc.Status error = 2; + + // The response to be returned on operation completion. + WaitResponse success = 3; + } +} + +// The result of the Wait operation. +message WaitResponse { + // This content of the result. + string content = 1; +} + +// The metadata for Wait operation. +message WaitMetadata { + // The time that this operation will complete. + google.protobuf.Timestamp end_time =1; +} + +// The request for Block method. +message BlockRequest { + // The amount of time to block before returning a response. + google.protobuf.Duration response_delay = 1; + + oneof response { + // The error that will be returned by the server. If this code is specified + // to be the OK rpc code, an empty response will be returned. + google.rpc.Status error = 2; + + // The response to be returned that will signify successful method call. + BlockResponse success = 3; + } +} + +// The response for Block method. +message BlockResponse { + // This content can contain anything, the server will not depend on a value + // here. + string content = 1; +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/identity.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/identity.proto new file mode 100755 index 0000000000..569c604d78 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/identity.proto @@ -0,0 +1,186 @@ +// Copyright 2018 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. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// A simple identity service. +service Identity { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // Creates a user. + rpc CreateUser(CreateUserRequest) returns (User) { + option (google.api.http) = { + post: "/v1beta1/users" + body: "*" + }; + option (google.api.method_signature) = "user.display_name,user.email"; + option (google.api.method_signature) = + "user.display_name,user.email,user.age,user.nickname,user.enable_notifications,user.height_feet"; + } + + // Retrieves the User with the given uri. + rpc GetUser(GetUserRequest) returns (User) { + option (google.api.http) = { + get: "/v1beta1/{name=users/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a user. + rpc UpdateUser(UpdateUserRequest) returns (User) { + option (google.api.http) = { + patch: "/v1beta1/{user.name=users/*}" + body: "user" + }; + } + + // Deletes a user, their profile, and all of their authored messages. + rpc DeleteUser(DeleteUserRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=users/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all users. + rpc ListUsers(ListUsersRequest) returns (ListUsersResponse) { + option (google.api.http) = { + get: "/v1beta1/users" + }; + } +} + +// A user. +message User { + option (google.api.resource) = { + type: "showcase.googleapis.com/User" + pattern: "users/{user}" + }; + + // The resource name of the user. + string name = 1; + + // The display_name of the user. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // The email address of the user. + string email = 3 [(google.api.field_behavior) = REQUIRED]; + + // The timestamp at which the user was created. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The latest timestamp at which the user was updated. + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The age of the user in years. + optional int32 age = 6; + + // The height of the user in feet. + optional double height_feet = 7; + + // The nickname of the user. + // + // (-- aip.dev/not-precedent: An empty string is a valid nickname. + // Ordinarily, proto3_optional should not be used on a `string` field. --) + optional string nickname = 8; + + // Enables the receiving of notifications. The default is true if unset. + // + // (-- aip.dev/not-precedent: The default for the feature is true. + // Ordinarily, the default for a `bool` field should be false. --) + optional bool enable_notifications = 9; +} + +// The request message for the google.showcase.v1beta1.Identity\CreateUser +// method. +message CreateUserRequest { + // The user to create. + User user = 1; +} + +// The request message for the google.showcase.v1beta1.Identity\GetUser +// method. +message GetUserRequest { + // The resource name of the requested user. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/User", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Identity\UpdateUser +// method. +message UpdateUserRequest { + // The user to update. + User user = 1; + + // The field mask to determine which fields are to be updated. If empty, the + // server will assume all fields are to be updated. + google.protobuf.FieldMask update_mask = 2; +} + +// The request message for the google.showcase.v1beta1.Identity\DeleteUser +// method. +message DeleteUserRequest { + // The resource name of the user to delete. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/User", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Identity\ListUsers +// method. +message ListUsersRequest { + // The maximum number of users to return. Server may return fewer users + // than requested. If unspecified, server will pick an appropriate default. + int32 page_size = 1; + + // The value of google.showcase.v1beta1.ListUsersResponse.next_page_token + // returned from the previous call to + // `google.showcase.v1beta1.Identity\ListUsers` method. + string page_token = 2; +} + +// The response message for the google.showcase.v1beta1.Identity\ListUsers +// method. +message ListUsersResponse { + // The list of users. + repeated User users = 1; + + // A token to retrieve next page of results. + // Pass this value in ListUsersRequest.page_token field in the subsequent + // call to `google.showcase.v1beta1.Message\ListUsers` method to retrieve the + // next page of results. + string next_page_token = 2; +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/messaging.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/messaging.proto new file mode 100755 index 0000000000..62196dfced --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/messaging.proto @@ -0,0 +1,520 @@ +// Copyright 2018 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. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/error_details.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// A simple messaging service that implements chat rooms and profile posts. +// +// This messaging service showcases the features that API clients +// generated by gapic-generators implement. +service Messaging { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // Creates a room. + rpc CreateRoom(CreateRoomRequest) returns (Room) { + option (google.api.http) = { + post: "/v1beta1/rooms" + body: "*" + }; + option (google.api.method_signature) = "room.display_name,room.description"; + } + + // Retrieves the Room with the given resource name. + rpc GetRoom(GetRoomRequest) returns (Room) { + option (google.api.http) = { + get: "/v1beta1/{name=rooms/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a room. + rpc UpdateRoom(UpdateRoomRequest) returns (Room) { + option (google.api.http) = { + patch: "/v1beta1/{room.name=rooms/*}" + body: "room" + }; + } + + // Deletes a room and all of its blurbs. + rpc DeleteRoom(DeleteRoomRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=rooms/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all chat rooms. + rpc ListRooms(ListRoomsRequest) returns (ListRoomsResponse) { + option (google.api.http) = { + get: "/v1beta1/rooms" + }; + } + + // Creates a blurb. If the parent is a room, the blurb is understood to be a + // message in that room. If the parent is a profile, the blurb is understood + // to be a post on the profile. + rpc CreateBlurb(CreateBlurbRequest) returns (Blurb) { + option (google.api.http) = { + post: "/v1beta1/{parent=rooms/*}/blurbs" + body: "*" + additional_bindings: { + post: "/v1beta1/{parent=users/*/profile}/blurbs" + body: "*" + } + }; + option (google.api.method_signature) = "parent,blurb.user,blurb.text"; + option (google.api.method_signature) = "parent,blurb.user,blurb.image"; + } + + // Retrieves the Blurb with the given resource name. + rpc GetBlurb(GetBlurbRequest) returns (Blurb) { + option (google.api.http) = { + get: "/v1beta1/{name=rooms/*/blurbs/*}" + additional_bindings: { get: "/v1beta1/{name=users/*/profile/blurbs/*}" } + }; + option (google.api.method_signature) = "name"; + } + + // Updates a blurb. + rpc UpdateBlurb(UpdateBlurbRequest) returns (Blurb) { + option (google.api.http) = { + patch: "/v1beta1/{blurb.name=rooms/*/blurbs/*}" + body: "blurb" + additional_bindings: { + patch: "/v1beta1/{blurb.name=users/*/profile/blurbs/*}" + body: "blurb" + } + }; + } + + // Deletes a blurb. + rpc DeleteBlurb(DeleteBlurbRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=rooms/*/blurbs/*}" + additional_bindings: { + delete: "/v1beta1/{name=users/*/profile/blurbs/*}" + } + }; + option (google.api.method_signature) = "name"; + } + + // Lists blurbs for a specific chat room or user profile depending on the + // parent resource name. + rpc ListBlurbs(ListBlurbsRequest) returns (ListBlurbsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=rooms/*}/blurbs" + additional_bindings: { get: "/v1beta1/{parent=users/*/profile}/blurbs" } + }; + option (google.api.method_signature) = "parent"; + } + + // This method searches through all blurbs across all rooms and profiles + // for blurbs containing to words found in the query. Only posts that + // contain an exact match of a queried word will be returned. + rpc SearchBlurbs(SearchBlurbsRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{parent=rooms/*}/blurbs:search" + body: "*" + additional_bindings: { + post: "/v1beta1/{parent=users/*/profile}/blurbs:search" + } + }; + option (google.longrunning.operation_info) = { + response_type: "SearchBlurbsResponse" + metadata_type: "SearchBlurbsMetadata" + }; + option (google.api.method_signature) = "parent,query"; + } + + // This returns a stream that emits the blurbs that are created for a + // particular chat room or user profile. + rpc StreamBlurbs(StreamBlurbsRequest) returns (stream StreamBlurbsResponse) { + option (google.api.http) = { + post: "/v1beta1/{name=rooms/*}/blurbs:stream" + body: "*" + additional_bindings: { + post: "/v1beta1/{name=users/*/profile}/blurbs:stream" + body: "*" + } + }; + } + + // This is a stream to create multiple blurbs. If an invalid blurb is + // requested to be created, the stream will close with an error. + rpc SendBlurbs(stream CreateBlurbRequest) returns (SendBlurbsResponse) { + option (google.api.http) = { + post: "/v1beta1/{parent=rooms/*}/blurbs:send" + body: "*" + additional_bindings: { + post: "/v1beta1/{parent=users/*/profile}/blurbs:send" + body: "*" + } + }; + } + + // This method starts a bidirectional stream that receives all blurbs that + // are being created after the stream has started and sends requests to create + // blurbs. If an invalid blurb is requested to be created, the stream will + // close with an error. + rpc Connect(stream ConnectRequest) returns (stream StreamBlurbsResponse); +} + +// A chat room. +message Room { + option (google.api.resource) = { + type: "showcase.googleapis.com/Room" + pattern: "rooms/{room}" + }; + + // The resource name of the chat room. + string name = 1; + + // The human readable name of the chat room. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // The description of the chat room. + string description = 3; + + // The timestamp at which the room was created. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The latest timestamp at which the room was updated. + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The request message for the google.showcase.v1beta1.Messaging\CreateRoom +// method. +message CreateRoomRequest { + // The room to create. + Room room = 1; +} + +// The request message for the google.showcase.v1beta1.Messaging\GetRoom +// method. +message GetRoomRequest { + // The resource name of the requested room. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Room", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Messaging\UpdateRoom +// method. +message UpdateRoomRequest { + // The room to update. + Room room = 1; + + // The field mask to determine which fields are to be updated. If empty, the + // server will assume all fields are to be updated. + google.protobuf.FieldMask update_mask = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\DeleteRoom +// method. +message DeleteRoomRequest { + // The resource name of the requested room. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Room", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Messaging\ListRooms +// method. +message ListRoomsRequest { + // The maximum number of rooms return. Server may return fewer rooms + // than requested. If unspecified, server will pick an appropriate default. + int32 page_size = 1; + + // The value of google.showcase.v1beta1.ListRoomsResponse.next_page_token + // returned from the previous call to + // `google.showcase.v1beta1.Messaging\ListRooms` method. + string page_token = 2; +} + +// The response message for the google.showcase.v1beta1.Messaging\ListRooms +// method. +message ListRoomsResponse { + // The list of rooms. + repeated Room rooms = 1; + + // A token to retrieve next page of results. + // Pass this value in ListRoomsRequest.page_token field in the subsequent + // call to `google.showcase.v1beta1.Messaging\ListRooms` method to retrieve + // the next page of results. + string next_page_token = 2; +} + +// This protocol buffer message represents a blurb sent to a chat room or +// posted on a user profile. +message Blurb { + option (google.api.resource) = { + type: "showcase.googleapis.com/Blurb" + pattern: "users/{user}/profile/blurbs/legacy/{legacy_user}~{blurb}" + pattern: "users/{user}/profile/blurbs/{blurb}" + pattern: "rooms/{room}/blurbs/{blurb}" + pattern: "rooms/{room}/blurbs/legacy/{legacy_room}.{blurb}" + }; + + // The resource name of the chat room. + string name = 1; + + // The resource name of the blurb's author. + string user = 2 [ + (google.api.resource_reference).type = "showcase.googleapis.com/User", + (google.api.field_behavior) = REQUIRED + ]; + + oneof content { + // The textual content of this blurb. + string text = 3; + + // The image content of this blurb. + bytes image = 4; + } + + // The timestamp at which the blurb was created. + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The latest timestamp at which the blurb was updated. + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // (-- aip.dev/not-precedent: This is designed for testing non-slash + // resource patterns. Ordinarily, non-slash separators are discouraged. + // --) + oneof legacy_id { + // The legacy id of the room. This field is used to signal + // the use of the compound resource pattern + // `rooms/{room}/blurbs/legacy/{legacy_room}.{blurb}` + string legacy_room_id = 7; + + // The legacy id of the user. This field is used to signal + // the use of the compound resource pattern + // `users/{user}/profile/blurbs/legacy/{legacy_user}~{blurb}` + string legacy_user_id = 8; + } +} + +// The request message for the google.showcase.v1beta1.Messaging\CreateBlurb +// method. +message CreateBlurbRequest { + // The resource name of the chat room or user profile that this blurb will + // be tied to. + string parent = 1 [ + (google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; + + // The blurb to create. + Blurb blurb = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\GetBlurb +// method. +message GetBlurbRequest { + // The resource name of the requested blurb. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Messaging\UpdateBlurb +// method. +message UpdateBlurbRequest { + // The blurb to update. + Blurb blurb = 1; + + // The field mask to determine wich fields are to be updated. If empty, the + // server will assume all fields are to be updated. + google.protobuf.FieldMask update_mask = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\DeleteBlurb +// method. +message DeleteBlurbRequest { + // The resource name of the requested blurb. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; +} + +// The request message for the google.showcase.v1beta1.Messaging\ListBlurbs +// method. +message ListBlurbsRequest { + // The resource name of the requested room or profile whos blurbs to list. + string parent = 1 [ + (google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; + + // The maximum number of blurbs to return. Server may return fewer + // blurbs than requested. If unspecified, server will pick an appropriate + // default. + int32 page_size = 2; + + // The value of google.showcase.v1beta1.ListBlurbsResponse.next_page_token + // returned from the previous call to + // `google.showcase.v1beta1.Messaging\ListBlurbs` method. + string page_token = 3; +} + +// The response message for the google.showcase.v1beta1.Messaging\ListBlurbs +// method. +message ListBlurbsResponse { + // The list of blurbs. + repeated Blurb blurbs = 1; + + // A token to retrieve next page of results. + // Pass this value in ListBlurbsRequest.page_token field in the subsequent + // call to `google.showcase.v1beta1.Blurb\ListBlurbs` method to retrieve + // the next page of results. + string next_page_token = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\SearchBlurbs +// method. +message SearchBlurbsRequest { + // The query used to search for blurbs containing to words of this string. + // Only posts that contain an exact match of a queried word will be returned. + string query = 1 [(google.api.field_behavior) = REQUIRED]; + + // The rooms or profiles to search. If unset, `SearchBlurbs` will search all + // rooms and all profiles. + string parent = 2 [(google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb"]; + + // The maximum number of blurbs return. Server may return fewer + // blurbs than requested. If unspecified, server will pick an appropriate + // default. + int32 page_size = 3; + + // The value of + // google.showcase.v1beta1.SearchBlurbsResponse.next_page_token + // returned from the previous call to + // `google.showcase.v1beta1.Messaging\SearchBlurbs` method. + string page_token = 4; +} + +// The operation metadata message for the +// google.showcase.v1beta1.Messaging\SearchBlurbs method. +message SearchBlurbsMetadata { + // This signals to the client when to next poll for response. + google.rpc.RetryInfo retry_info = 1; +} + +// The operation response message for the +// google.showcase.v1beta1.Messaging\SearchBlurbs method. +message SearchBlurbsResponse { + // Blurbs that matched the search query. + repeated Blurb blurbs = 1; + + // A token to retrieve next page of results. + // Pass this value in SearchBlurbsRequest.page_token field in the subsequent + // call to `google.showcase.v1beta1.Blurb\SearchBlurbs` method to + // retrieve the next page of results. + string next_page_token = 2; +} + +// The request message for the google.showcase.v1beta1.Messaging\StreamBlurbs +// method. +message StreamBlurbsRequest { + // The resource name of a chat room or user profile whose blurbs to stream. + string name = 1 [ + (google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb", + (google.api.field_behavior) = REQUIRED + ]; + + // The time at which this stream will close. + google.protobuf.Timestamp expire_time = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// The response message for the google.showcase.v1beta1.Messaging\StreamBlurbs +// method. +message StreamBlurbsResponse { + // The blurb that was either created, updated, or deleted. + Blurb blurb = 1; + + // The action that triggered the blurb to be returned. + enum Action { + ACTION_UNSPECIFIED = 0; + + // Specifies that the blurb was created. + CREATE = 1; + + // Specifies that the blurb was updated. + UPDATE = 2; + + // Specifies that the blurb was deleted. + DELETE = 3; + } + + // The action that triggered the blurb to be returned. + Action action = 2; +} + +// The response message for the google.showcase.v1beta1.Messaging\SendBlurbs +// method. +message SendBlurbsResponse { + // The names of successful blurb creations. + repeated string names = 1; +} + +// The request message for the google.showcase.v1beta1.Messaging\Connect +// method. +message ConnectRequest { + message ConnectConfig { + // The room or profile to follow and create messages for. + string parent = 1 [(google.api.resource_reference).child_type = + "showcase.googleapis.com/Blurb"]; + } + + oneof request { + // Provides information that specifies how to process subsequent requests. + // The first `ConnectRequest` message must contain a `config` message. + ConnectConfig config = 1; + + // The blurb to be created. + Blurb blurb = 2; + } +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/sequence.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/sequence.proto new file mode 100755 index 0000000000..6c6a0c1a41 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/sequence.proto @@ -0,0 +1,252 @@ +// Copyright 2020 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. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +service SequenceService { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // Creates a sequence. + rpc CreateSequence(CreateSequenceRequest) returns (Sequence) { + option (google.api.http) = { + post: "/v1beta1/sequences" + body: "sequence" + }; + option (google.api.method_signature) = "sequence"; + }; + + // Creates a sequence. + rpc CreateStreamingSequence(CreateStreamingSequenceRequest) returns (StreamingSequence) { + option (google.api.http) = { + post: "/v1beta1/streamingSequences" + body: "streaming_sequence" + }; + option (google.api.method_signature) = "streaming_sequence"; + }; + + // Retrieves a sequence. + rpc GetSequenceReport(GetSequenceReportRequest) returns (SequenceReport) { + option (google.api.http) = { + get: "/v1beta1/{name=sequences/*/sequenceReport}" + }; + option (google.api.method_signature) = "name"; + }; + + // Retrieves a sequence. + rpc GetStreamingSequenceReport(GetStreamingSequenceReportRequest) returns (StreamingSequenceReport) { + option (google.api.http) = { + get: "/v1beta1/{name=streamingSequences/*/streamingSequenceReport}" + }; + option (google.api.method_signature) = "name"; + }; + + // Attempts a sequence. + rpc AttemptSequence(AttemptSequenceRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=sequences/*}" + body: "*" + }; + option (google.api.method_signature) = "name"; + }; + + // Attempts a streaming sequence. + rpc AttemptStreamingSequence(AttemptStreamingSequenceRequest) returns (stream AttemptStreamingSequenceResponse) { + option (google.api.http) = { + post: "/v1beta1/{name=streamingSequences/*}:stream" + body: "*" + }; + option (google.api.method_signature) = "name"; + }; +} + +message Sequence { + option (google.api.resource) = { + type: "showcase.googleapis.com/Sequence" + pattern: "sequences/{sequence}" + }; + + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A server response to an RPC Attempt in a sequence. + message Response { + // The status to return for an individual attempt. + google.rpc.Status status = 1; + + // The amount of time to delay sending the response. + google.protobuf.Duration delay = 2; + } + + // Sequence of responses to return in order for each attempt. If empty, the + // default response is an immediate OK. + repeated Response responses = 2; +} + +message StreamingSequence { + option (google.api.resource) = { + type: "showcase.googleapis.com/StreamingSequence" + pattern: "streamingSequences/{streaming_sequence}" + }; + + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The Content that the stream will send + string content = 2; + + // A server response to an RPC Attempt in a sequence. + message Response { + // The status to return for an individual attempt. + google.rpc.Status status = 1; + + // The amount of time to delay sending the response. + google.protobuf.Duration delay = 2; + + // The index that the status should be sent + int32 response_index = 3; + } + + // Sequence of responses to return in order for each attempt. If empty, the + // default response is an immediate OK. + repeated Response responses = 3; +} + + +message StreamingSequenceReport { + option (google.api.resource) = { + type: "showcase.googleapis.com/StreamingSequenceReport" + pattern: "streamingSequences/{streaming_sequence}/streamingSequenceReport" + }; + + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Contains metrics on individual RPC Attempts in a sequence. + message Attempt { + // The attempt number - starting at 0. + int32 attempt_number = 1; + + // The deadline dictated by the attempt to the server. + google.protobuf.Timestamp attempt_deadline = 2; + + // The time that the server responded to the RPC attempt. Used for + // calculating attempt_delay. + google.protobuf.Timestamp response_time = 3; + + // The server perceived delay between sending the last response and + // receiving this attempt. Used for validating attempt delay backoff. + google.protobuf.Duration attempt_delay = 4; + + // The status returned to the attempt. + google.rpc.Status status = 5; + + string content_sent = 6; + } + + // The set of RPC attempts received by the server for a Sequence. + repeated Attempt attempts = 2; +} + +message SequenceReport { + option (google.api.resource) = { + type: "showcase.googleapis.com/SequenceReport" + pattern: "sequences/{sequence}/sequenceReport" + }; + + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Contains metrics on individual RPC Attempts in a sequence. + message Attempt { + // The attempt number - starting at 0. + int32 attempt_number = 1; + + // The deadline dictated by the attempt to the server. + google.protobuf.Timestamp attempt_deadline = 2; + + // The time that the server responded to the RPC attempt. Used for + // calculating attempt_delay. + google.protobuf.Timestamp response_time = 3; + + // The server perceived delay between sending the last response and + // receiving this attempt. Used for validating attempt delay backoff. + google.protobuf.Duration attempt_delay = 4; + + // The status returned to the attempt. + google.rpc.Status status = 5; + } + + // The set of RPC attempts received by the server for a Sequence. + repeated Attempt attempts = 2; +} + +message CreateSequenceRequest { + Sequence sequence = 1; +} + +message CreateStreamingSequenceRequest { + StreamingSequence streaming_sequence = 1; +} + +message AttemptSequenceRequest { + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Sequence", + (google.api.field_behavior) = REQUIRED + ]; +} + +message AttemptStreamingSequenceRequest { + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/StreamingSequence", + (google.api.field_behavior) = REQUIRED + ]; + +} + +// The response message for the Echo methods. +message AttemptStreamingSequenceResponse { + // The content specified in the request. + string content = 1; + +} + +message GetSequenceReportRequest { + string name = 1 [ + (google.api.resource_reference).type = + "showcase.googleapis.com/SequenceReport", + (google.api.field_behavior) = REQUIRED + ]; +} + +message GetStreamingSequenceReportRequest { + string name = 1 [ + (google.api.resource_reference).type = + "showcase.googleapis.com/StreamingSequenceReport", + (google.api.field_behavior) = REQUIRED + ]; +} diff --git a/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/testing.proto b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/testing.proto new file mode 100755 index 0000000000..56e85e97e5 --- /dev/null +++ b/showcase/proto-gapic-showcase-v1beta1/src/main/proto/external/com_google_gapic_showcase/schema/google/showcase/v1beta1/testing.proto @@ -0,0 +1,386 @@ +// Copyright 2018 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. + +syntax = "proto3"; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/resource.proto"; +import "google/protobuf/empty.proto"; + +package google.showcase.v1beta1; + +option go_package = "github.com/googleapis/gapic-showcase/server/genproto"; +option java_package = "com.google.showcase.v1beta1"; +option java_multiple_files = true; +option ruby_package = "Google::Showcase::V1beta1"; + +// A service to facilitate running discrete sets of tests +// against Showcase. +service Testing { + // This service is meant to only run locally on the port 7469 (keypad digits + // for "show"). + option (google.api.default_host) = "localhost:7469"; + + // Creates a new testing session. + rpc CreateSession(CreateSessionRequest) returns (Session) { + option (google.api.http) = { + post: "/v1beta1/sessions" + body: "session" + }; + } + + // Gets a testing session. + rpc GetSession(GetSessionRequest) returns (Session) { + option (google.api.http) = { + get: "/v1beta1/{name=sessions/*}" + }; + } + + // Lists the current test sessions. + rpc ListSessions(ListSessionsRequest) returns (ListSessionsResponse) { + option (google.api.http) = { + get: "/v1beta1/sessions" + }; + } + + // Delete a test session. + rpc DeleteSession(DeleteSessionRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=sessions/*}" + }; + } + + // Report on the status of a session. + // This generates a report detailing which tests have been completed, + // and an overall rollup. + rpc ReportSession(ReportSessionRequest) returns (ReportSessionResponse) { + option (google.api.http) = { + post: "/v1beta1/{name=sessions/*}:report" + }; + } + + // List the tests of a sessesion. + rpc ListTests(ListTestsRequest) returns (ListTestsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=sessions/*}/tests" + }; + } + + // Explicitly decline to implement a test. + // + // This removes the test from subsequent `ListTests` calls, and + // attempting to do the test will error. + // + // This method will error if attempting to delete a required test. + rpc DeleteTest(DeleteTestRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=sessions/*/tests/*}" + }; + } + + // Register a response to a test. + // + // In cases where a test involves registering a final answer at the + // end of the test, this method provides the means to do so. + rpc VerifyTest(VerifyTestRequest) returns (VerifyTestResponse) { + option (google.api.http) = { + post: "/v1beta1/{name=sessions/*/tests/*}:check" + }; + } +} + +// A session is a suite of tests, generally being made in the context +// of testing code generation. +// +// A session defines tests it may expect, based on which version of the +// code generation spec is in use. +message Session { + option (google.api.resource) = { + type: "showcase.googleapis.com/Session" + pattern: "sessions/{session}" + }; + + // The name of the session. The ID must conform to ^[a-z]+$ + // If this is not provided, Showcase chooses one at random. + string name = 1; + + // The specification versions understood by Showcase. + enum Version { + // Unspecified version. If passed on creation, the session will default + // to using the latest stable release. + VERSION_UNSPECIFIED = 0; + + // The latest v1. Currently, this is v1.0. + V1_LATEST = 1; + + // v1.0. (Until the spec is "GA", this will be a moving target.) + V1_0 = 2; + } + + // Required. The version this session is using. + Version version = 2; +} + +// The request for the CreateSession method. +message CreateSessionRequest { + // The session to be created. + // Sessions are immutable once they are created (although they can + // be deleted). + Session session = 1; +} + +// The request for the GetSession method. +message GetSessionRequest { + // The session to be retrieved. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Session"]; +} + +// The request for the ListSessions method. +message ListSessionsRequest { + // The maximum number of sessions to return per page. + int32 page_size = 1; + + // The page token, for retrieving subsequent pages. + string page_token = 2; +} + +// Response for the ListSessions method. +message ListSessionsResponse { + // The sessions being returned. + repeated Session sessions = 1; + + // The next page token, if any. + // An empty value here means the last page has been reached. + string next_page_token = 2; +} + +// Request for the DeleteSession method. +message DeleteSessionRequest { + // The session to be deleted. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Session"]; +} + +// Request message for reporting on a session. +message ReportSessionRequest { + // The session to be reported on. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Session"]; +} + +// Response message for reporting on a session. +message ReportSessionResponse { + // The topline state of the report. + enum Result { + RESULT_UNSPECIFIED = 0; + + // The session is complete, and everything passed. + PASSED = 1; + + // The session had an explicit failure. + FAILED = 2; + + // The session is incomplete. This is a failure response. + INCOMPLETE = 3; + } + + // The state of the report. + Result result = 1; + + // The test runs of this session. + repeated TestRun test_runs = 2; +} + +message Test { + option (google.api.resource) = { + type: "showcase.googleapis.com/Test" + pattern: "sessions/{session}/tests/{test}" + }; + + // The name of the test. + // The tests/* portion of the names are hard-coded, and do not change + // from session to session. + string name = 1; + + // Whether or not a test is required, recommended, or optional. + enum ExpectationLevel { + EXPECTATION_LEVEL_UNSPECIFIED = 0; + + // This test is strictly required. + REQUIRED = 1; + + // This test is recommended. + // + // If a generator explicitly ignores a recommended test (see `DeleteTest`), + // then the report may still pass, but with a warning. + // + // If a generator skips a recommended test and does not explicitly + // express that intention, the report will fail. + RECOMMENDED = 2; + + // This test is optional. + // + // If a generator explicitly ignores an optional test (see `DeleteTest`), + // then the report may still pass, and no warning will be issued. + // + // If a generator skips an optional test and does not explicitly + // express that intention, the report may still pass, but with a + // warning. + OPTIONAL = 3; + } + + // The expectation level for this test. + ExpectationLevel expectation_level = 2; + + // A description of the test. + string description = 3; + + // A blueprint is an explicit definition of methods and requests that are needed + // to be made to test this specific test case. Ideally this would be represented + // by something more robust like CEL, but as of writing this, I am unsure if CEL + // is ready. + message Blueprint { + option (google.api.resource) = { + type: "showcase.googleapis.com/Blueprint" + pattern: "sessions/{session}/tests/{test}/blueprints/{blueprint}" + }; + + // The name of this blueprint. + string name = 1; + + // A description of this blueprint. + string description = 2; + + // A message representing a method invocation. + message Invocation { + // The fully qualified name of the showcase method to be invoked. + string method = 1; + + // The request to be made if a specific request is necessary. + bytes serialized_request = 2; + } + + // The initial request to trigger this test. + Invocation request = 3; + + // An ordered list of method calls that can be called to trigger this test. + repeated Invocation additional_requests = 4; + } + + // The blueprints that will satisfy this test. There may be multiple blueprints + // that can signal to the server that this test case is being exercised. Although + // multiple blueprints are specified, only a single blueprint needs to be run to + // signal that the test case was exercised. + repeated Blueprint blueprints = 4; +} + +// An issue found in the test. +message Issue { + // The different potential types of issues. + enum Type { + TYPE_UNSPECIFIED = 0; + + // The test was never instrumented. + SKIPPED = 1; + + // The test was started but never confirmed. + PENDING = 2; + + // The test was instrumented, but Showcase got an unexpected + // value when the generator tried to confirm success. + INCORRECT_CONFIRMATION = 3; + } + + // The type of the issue. + Type type = 1; + + // Severity levels. + enum Severity { + SEVERITY_UNSPECIFIED = 0; + + // Errors. + ERROR = 1; + + // Warnings. + WARNING = 2; + } + + // The severity of the issue. + Severity severity = 2; + + // A description of the issue. + string description = 3; +} + +// The request for the ListTests method. +message ListTestsRequest { + // The session. + string parent = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Session"]; + + // The maximum number of tests to return per page. + int32 page_size = 2; + + // The page token, for retrieving subsequent pages. + string page_token = 3; +} + +// The response for the ListTests method. +message ListTestsResponse { + // The tests being returned. + repeated Test tests = 1; + + // The next page token, if any. + // An empty value here means the last page has been reached. + string next_page_token = 2; +} + +// A TestRun is the result of running a Test. +message TestRun { + // The name of the test. + // The tests/* portion of the names are hard-coded, and do not change + // from session to session. + string test = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Test"]; + + + // An issue found with the test run. If empty, this test run was successful. + Issue issue = 2; +} + +// Request message for deleting a test. +message DeleteTestRequest { + // The test to be deleted. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Test"]; +} + +message VerifyTestRequest { + // The test to have an answer registered to it. + string name = 1 [ + (google.api.resource_reference).type = "showcase.googleapis.com/Test"]; + + // The answer from the test. + bytes answer = 2; + + // The answers from the test if multiple are to be checked + repeated bytes answers = 3; +} + +message VerifyTestResponse { + // An issue if check answer was unsuccessful. This will be empty if the check answer succeeded. + Issue issue = 1; +} diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetCredentialsProvider.java index ef37e87690..eb341a92d1 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetCredentialsProvider1.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetCredentialsProvider1.java index b2a5bd5657..56a90c7147 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetCredentialsProvider1.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetCredentialsProvider1.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetEndpoint.java index 3d5446239c..a74363576b 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/AsyncListConnections.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/AsyncListConnections.java index e58d765ec9..9dc23958ad 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/AsyncListConnections.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/AsyncListConnections.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/AsyncListConnectionsPaged.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/AsyncListConnectionsPaged.java index b2254cf236..1f673cd56f 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/AsyncListConnectionsPaged.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/AsyncListConnectionsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnections.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnections.java index 22d8721a3d..8cf9bf22a5 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnections.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnections.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnectionsEndpointname.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnectionsEndpointname.java index 3c375d2ab4..296db84cf9 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnectionsEndpointname.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnectionsEndpointname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnectionsString.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnectionsString.java index 5ba3d9f0d5..b96bb7511e 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnectionsString.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservice/listconnections/SyncListConnectionsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservicesettings/listconnections/SyncListConnections.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservicesettings/listconnections/SyncListConnections.java index b52fb067ef..137c2690c8 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservicesettings/listconnections/SyncListConnections.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/connectionservicesettings/listconnections/SyncListConnections.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/stub/connectionservicestubsettings/listconnections/SyncListConnections.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/stub/connectionservicestubsettings/listconnections/SyncListConnections.java index cfd7db3cb8..9f2c475f15 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/stub/connectionservicestubsettings/listconnections/SyncListConnections.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/stub/connectionservicestubsettings/listconnections/SyncListConnections.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/stub/tetherstubsettings/egress/SyncEgress.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/stub/tetherstubsettings/egress/SyncEgress.java index ac44c199a1..f49d173acb 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/stub/tetherstubsettings/egress/SyncEgress.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/stub/tetherstubsettings/egress/SyncEgress.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetCredentialsProvider.java index 1a44df0098..9bd01ccad7 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetEndpoint.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetEndpoint.java index d8b615f9fe..bfd4caa157 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/egress/AsyncEgress.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/egress/AsyncEgress.java index 1d32c19c1d..e3f77738ab 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/egress/AsyncEgress.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tether/egress/AsyncEgress.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tethersettings/egress/SyncEgress.java b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tethersettings/egress/SyncEgress.java index f1efa82994..daa45e758d 100644 --- a/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tethersettings/egress/SyncEgress.java +++ b/test/integration/goldens/apigeeconnect/samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1/tethersettings/egress/SyncEgress.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java index 661c504449..0254061ebe 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClientHttpJsonTest.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClientHttpJsonTest.java index 3f8d216e7b..51d5de0ef4 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClientHttpJsonTest.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClientTest.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClientTest.java index c3c3b68a0d..dce311d025 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClientTest.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceSettings.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceSettings.java index 00472714eb..2f435c328e 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceSettings.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/ConnectionServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/EndpointName.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/EndpointName.java index 2c7edfea89..b740afb976 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/EndpointName.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/EndpointName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockConnectionService.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockConnectionService.java index 689619cd60..976611224c 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockConnectionService.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockConnectionService.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockConnectionServiceImpl.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockConnectionServiceImpl.java index b56c59b7bd..d5118e0702 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockConnectionServiceImpl.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockConnectionServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockTether.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockTether.java index dcb2167abc..a162b1f2af 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockTether.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockTether.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockTetherImpl.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockTetherImpl.java index 178bbe5ada..91938a1eaa 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockTetherImpl.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/MockTetherImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherClient.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherClient.java index e376843051..d085337c32 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherClient.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherClientTest.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherClientTest.java index 50f8fe5aab..c580ef0af7 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherClientTest.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherSettings.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherSettings.java index 9c6b02565d..a1902b37f4 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherSettings.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/TetherSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/package-info.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/package-info.java index 085161a7eb..c47d3b1b35 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/package-info.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStub.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStub.java index 77156a6000..294de683eb 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStub.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java index 19103472ab..a037feaf5f 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcConnectionServiceCallableFactory.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcConnectionServiceCallableFactory.java index a4b43d630d..036b4d8073 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcConnectionServiceCallableFactory.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcConnectionServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcConnectionServiceStub.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcConnectionServiceStub.java index f3ab3ba895..772d87a816 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcConnectionServiceStub.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcConnectionServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,10 +23,10 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.apigeeconnect.v1.ListConnectionsRequest; import com.google.cloud.apigeeconnect.v1.ListConnectionsResponse; -import com.google.common.collect.ImmutableMap; import com.google.longrunning.stub.GrpcOperationsStub; import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; @@ -109,9 +109,9 @@ protected GrpcConnectionServiceStub( .setMethodDescriptor(listConnectionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcTetherCallableFactory.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcTetherCallableFactory.java index 9539d5b225..387f3f9b50 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcTetherCallableFactory.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcTetherCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcTetherStub.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcTetherStub.java index 5e26b215cf..7cf3e84f83 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcTetherStub.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/GrpcTetherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/HttpJsonConnectionServiceCallableFactory.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/HttpJsonConnectionServiceCallableFactory.java index 6aa75e6206..17ec77104f 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/HttpJsonConnectionServiceCallableFactory.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/HttpJsonConnectionServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/HttpJsonConnectionServiceStub.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/HttpJsonConnectionServiceStub.java index 1c5701c575..4bf5d6e94f 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/HttpJsonConnectionServiceStub.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/HttpJsonConnectionServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.apigeeconnect.v1.ListConnectionsRequest; import com.google.cloud.apigeeconnect.v1.ListConnectionsResponse; @@ -140,6 +141,12 @@ protected HttpJsonConnectionServiceStub( HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listConnectionsMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); this.listConnectionsCallable = diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStub.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStub.java index e53dbb6fb5..ba8c07686e 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStub.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java index 3a926ba150..cde1caba7e 100644 --- a/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java +++ b/test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java index da47754f56..156c15f06d 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java index 895e33d290..a28432409b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java index 8be7cf84bc..586e24446c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java index 44931ced7e..618b324de6 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java index 2af13d054f..35b8c3adfc 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java index f0d93d7947..b3d28fd3dd 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java index be0348481f..278b070d0d 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java index f83a458c2c..4f69a827b8 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java index 53937e1834..db560f299d 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java index 2b3d26a454..91e3a41c3c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java index 04f6d089a8..8f2ddf5708 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java index 00ad2cefc5..3d77c16d1c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java index 84fa8e108a..503688fab9 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java index 5ede353237..f69c5fa8f8 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java index f33ae5d4c0..63eb1a017a 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java index cd83f15a3b..22a4432251 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java index f6fc682365..71f3d013ad 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java index 780f1a020a..4292202d9c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java index c2196fe698..f4e23828dd 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java index a34ca5f8e2..9d40c9f5f2 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java index dba9b67b9e..8a1b4e278e 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java index 9a3c13d60e..b11e77b37e 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java index 3c9cb43e0d..7de2380c03 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java index f37354d875..310a499bd8 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java index 051f44738c..66dc568f15 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java index ca8460944c..aa6c4cdc00 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java index 7430704233..ca6428b5ba 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java index e9ce152e54..5f73ba210c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java index 7d57718be2..ce7e5d68df 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java index f99e5f8758..a12a0fff8b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java index 95967e0bc0..5499209ed8 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java index 2a22af93a7..90bbc2e277 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java index 554111bdd6..39fb5326bd 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java index fed37ddc70..3cbf2fce8b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java index 8acd1e2b02..fd5c9a7fca 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java index f6813afc5f..2b43970387 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java index 978518747f..db8f0f2fe7 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java index e85a2f8f77..4ecf5e97a3 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java index b01fb5c1fe..b77a3066fb 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java index d707d5391e..bdedd7ee77 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java index 0c3ed06d50..e8374d2fec 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java index 7f2606af81..1efa0f9b6d 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java index c00d6ecf82..3df30237f2 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java index 2dc8bf1302..8102572576 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java index 11fb259519..83acee6375 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java index 28ae22fe16..d99d286d0e 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java index 6c87901659..dcae96a56e 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java index 4207a2ba55..eadce3866a 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java index 8f4c9daa94..a7b43990e7 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java index 3c94affab0..30bf27c905 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java index 1669722814..f8ae951b14 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java index 7f7184b3a1..af46767922 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java index 6499fc3479..827c8bced0 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java index dc9c26d570..61d0c68e65 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java index b450b540c5..836d6e3550 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java index 7c0b1cab42..f514720408 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java index f808f68ad8..85239c8b46 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java index 5b48981dbf..19a16c66ce 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java index 3d16d8211e..8cad1670b2 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java index 12d0a7e183..454a9f1bde 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java index 73e3439862..3631dd2046 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java index 76c9f0f56b..af2a52aa2d 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java index 61af31efa3..82ffffa9d7 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java index 7fb2de5a48..82633eb2c2 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java index 06586914a2..39eae3466a 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java index 5f8724fe34..79f3dba844 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java index b62bcc4348..cb8e8ccf78 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java index 8a0a05656f..c3cb21f64a 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java index b209292a95..a4b6b70bc3 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java index bdf9957e77..7021653712 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java index 6f5b0840f7..e60336f81f 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java index 442f929fbe..cf31ed365d 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java index 0231d67248..b6b1f205fd 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java index 02f4b3c771..2763068d52 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java index 31de0fc591..2613f021f3 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClient.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClient.java index fd84de5a1a..bea5e6251a 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClient.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java index 54b289b053..afb7b9ac99 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClientTest.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClientTest.java index bf670f43ab..fccb612bd5 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClientTest.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceSettings.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceSettings.java index 40c2557ae9..141bf35c5b 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceSettings.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/AssetServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FeedName.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FeedName.java index 7257fbdabe..09996c80b1 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FeedName.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FeedName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FolderName.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FolderName.java index e4f3b3981b..3fb0e60e68 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FolderName.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FolderName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/MockAssetService.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/MockAssetService.java index 304f002778..acbdbc0836 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/MockAssetService.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/MockAssetService.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/MockAssetServiceImpl.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/MockAssetServiceImpl.java index b4107bb0f0..7844156358 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/MockAssetServiceImpl.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/MockAssetServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/OrganizationName.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/OrganizationName.java index cf6b7ed90b..8f389f7449 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/OrganizationName.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/OrganizationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/ProjectName.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/ProjectName.java index 032e6dc27a..4d429e007b 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/ProjectName.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/SavedQueryName.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/SavedQueryName.java index bd562e165a..41083dc1db 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/SavedQueryName.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/SavedQueryName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/package-info.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/package-info.java index 7ac072c156..6129125395 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/package-info.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStub.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStub.java index a8d06aa074..226405fe22 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStub.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java index c0a4ba15d1..ffcbff4cc6 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java index bdd77c3c5e..fc52f237d0 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java index 8087912450..85b316e8a4 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata; import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest; @@ -63,7 +64,6 @@ import com.google.cloud.asset.v1.SearchAllResourcesResponse; import com.google.cloud.asset.v1.UpdateFeedRequest; import com.google.cloud.asset.v1.UpdateSavedQueryRequest; -import com.google.common.collect.ImmutableMap; import com.google.longrunning.Operation; import com.google.longrunning.stub.GrpcOperationsStub; import com.google.protobuf.Empty; @@ -370,9 +370,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(exportAssetsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings listAssetsTransportSettings = @@ -380,9 +380,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(listAssetsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings @@ -392,9 +392,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(batchGetAssetsHistoryMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings createFeedTransportSettings = @@ -402,9 +402,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(createFeedMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getFeedTransportSettings = @@ -412,9 +412,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(getFeedMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listFeedsTransportSettings = @@ -422,9 +422,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(listFeedsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateFeedTransportSettings = @@ -432,9 +432,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(updateFeedMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("feed.name", String.valueOf(request.getFeed().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("feed.name", String.valueOf(request.getFeed().getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteFeedTransportSettings = @@ -442,9 +442,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(deleteFeedMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -453,9 +453,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(searchAllResourcesMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("scope", String.valueOf(request.getScope())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("scope", String.valueOf(request.getScope())); + return builder.build(); }) .build(); GrpcCallSettings @@ -464,9 +464,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(searchAllIamPoliciesMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("scope", String.valueOf(request.getScope())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("scope", String.valueOf(request.getScope())); + return builder.build(); }) .build(); GrpcCallSettings @@ -475,11 +475,11 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(analyzeIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put( + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( "analysis_query.scope", String.valueOf(request.getAnalysisQuery().getScope())); - return params.build(); + return builder.build(); }) .build(); GrpcCallSettings @@ -488,11 +488,11 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(analyzeIamPolicyLongrunningMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put( + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( "analysis_query.scope", String.valueOf(request.getAnalysisQuery().getScope())); - return params.build(); + return builder.build(); }) .build(); GrpcCallSettings analyzeMoveTransportSettings = @@ -500,9 +500,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(analyzeMoveMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings queryAssetsTransportSettings = @@ -510,9 +510,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(queryAssetsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings createSavedQueryTransportSettings = @@ -520,9 +520,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(createSavedQueryMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getSavedQueryTransportSettings = @@ -530,9 +530,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(getSavedQueryMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -541,9 +541,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(listSavedQueriesMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateSavedQueryTransportSettings = @@ -551,9 +551,10 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(updateSavedQueryMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("saved_query.name", String.valueOf(request.getSavedQuery().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "saved_query.name", String.valueOf(request.getSavedQuery().getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteSavedQueryTransportSettings = @@ -561,9 +562,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(deleteSavedQueryMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -574,9 +575,9 @@ protected GrpcAssetServiceStub( .setMethodDescriptor(batchGetEffectiveIamPoliciesMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("scope", String.valueOf(request.getScope())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("scope", String.valueOf(request.getScope())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java index 08af9f9342..4e97054b2c 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java index 4e07ddd7e0..ef3b723171 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,6 +36,7 @@ import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata; import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest; @@ -955,11 +956,23 @@ protected HttpJsonAssetServiceStub( HttpJsonCallSettings.newBuilder() .setMethodDescriptor(exportAssetsMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings listAssetsTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listAssetsMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings batchGetAssetsHistoryTransportSettings = @@ -967,37 +980,79 @@ protected HttpJsonAssetServiceStub( .newBuilder() .setMethodDescriptor(batchGetAssetsHistoryMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings createFeedTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(createFeedMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings getFeedTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(getFeedMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings listFeedsTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listFeedsMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings updateFeedTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(updateFeedMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("feed.name", String.valueOf(request.getFeed().getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings deleteFeedTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(deleteFeedMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings searchAllResourcesTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(searchAllResourcesMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("scope", String.valueOf(request.getScope())); + return builder.build(); + }) .build(); HttpJsonCallSettings searchAllIamPoliciesTransportSettings = @@ -1005,54 +1060,119 @@ protected HttpJsonAssetServiceStub( .newBuilder() .setMethodDescriptor(searchAllIamPoliciesMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("scope", String.valueOf(request.getScope())); + return builder.build(); + }) .build(); HttpJsonCallSettings analyzeIamPolicyTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(analyzeIamPolicyMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "analysis_query.scope", + String.valueOf(request.getAnalysisQuery().getScope())); + return builder.build(); + }) .build(); HttpJsonCallSettings analyzeIamPolicyLongrunningTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(analyzeIamPolicyLongrunningMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "analysis_query.scope", + String.valueOf(request.getAnalysisQuery().getScope())); + return builder.build(); + }) .build(); HttpJsonCallSettings analyzeMoveTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(analyzeMoveMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) .build(); HttpJsonCallSettings queryAssetsTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(queryAssetsMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings createSavedQueryTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(createSavedQueryMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings getSavedQueryTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(getSavedQueryMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings listSavedQueriesTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listSavedQueriesMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings updateSavedQueryTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(updateSavedQueryMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "saved_query.name", String.valueOf(request.getSavedQuery().getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings deleteSavedQueryTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(deleteSavedQueryMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings batchGetEffectiveIamPoliciesTransportSettings = @@ -1061,6 +1181,12 @@ protected HttpJsonAssetServiceStub( newBuilder() .setMethodDescriptor(batchGetEffectiveIamPoliciesMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("scope", String.valueOf(request.getScope())); + return builder.build(); + }) .build(); this.exportAssetsCallable = diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java index 9b3ac3557e..e153a19c34 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/AsyncCheckAndMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/AsyncCheckAndMutateRow.java index d7d8937ff7..76c687f2f9 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/AsyncCheckAndMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/AsyncCheckAndMutateRow.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRow.java index cf3eb73ece..5198353ea9 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRow.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java index 1951fd7be8..d5cb4e5934 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java index 7999251391..403bbc2a22 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java index 94b3498d56..d694cc7e5a 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java index ae5cef236b..3dd1b927ee 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/create/SyncCreateSetCredentialsProvider.java index 7f26aef4f9..b29667ca2e 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/create/SyncCreateSetEndpoint.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/create/SyncCreateSetEndpoint.java index c1a6d75ae8..f303314cc8 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/AsyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/AsyncMutateRow.java index 7475c57d0a..19f19a8fe7 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/AsyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/AsyncMutateRow.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRow.java index 1d7439c6ca..9bbd657ba7 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRow.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowStringBytestringListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowStringBytestringListmutation.java index 03d7191440..254be81fd4 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowStringBytestringListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowStringBytestringListmutation.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowStringBytestringListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowStringBytestringListmutationString.java index dc2ce87b85..2f65bb3165 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowStringBytestringListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowStringBytestringListmutationString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowTablenameBytestringListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowTablenameBytestringListmutation.java index bab53b1aa9..43ef4c4492 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowTablenameBytestringListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowTablenameBytestringListmutation.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java index 3802b87ef1..fbbb4e0fea 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterows/AsyncMutateRows.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterows/AsyncMutateRows.java index 452920dccf..08ceaffb12 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterows/AsyncMutateRows.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/mutaterows/AsyncMutateRows.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/AsyncPingAndWarm.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/AsyncPingAndWarm.java index 1986e338da..adfaba180b 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/AsyncPingAndWarm.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/AsyncPingAndWarm.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarm.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarm.java index b894b028dc..d959a99cb5 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarm.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarm.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmInstancename.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmInstancename.java index 7499dd14d5..eca56b74fe 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmInstancename.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmInstancename.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmInstancenameString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmInstancenameString.java index 490049f0d0..2bef0a906a 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmInstancenameString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmInstancenameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmString.java index 8ed9894384..79662c1ee3 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmStringString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmStringString.java index 432eac3f4f..4d23ed4276 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmStringString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/pingandwarm/SyncPingAndWarmStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/AsyncReadModifyWriteRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/AsyncReadModifyWriteRow.java index 8ff05b78fb..cbe0a12a0e 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/AsyncReadModifyWriteRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/AsyncReadModifyWriteRow.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRow.java index 4fc565753f..96e117907c 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRow.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java index 0d065192e7..4790517ae7 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java index 958365977e..bd57034b07 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java index 9369754dfa..828ae7e6a9 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java index db2d6d950b..e112775f39 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readrows/AsyncReadRows.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readrows/AsyncReadRows.java index 3228987659..5abfbe6075 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readrows/AsyncReadRows.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/readrows/AsyncReadRows.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/samplerowkeys/AsyncSampleRowKeys.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/samplerowkeys/AsyncSampleRowKeys.java index 113942be30..7f5d07a2b8 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/samplerowkeys/AsyncSampleRowKeys.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable/samplerowkeys/AsyncSampleRowKeys.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java index 3194f8487c..caeb7c523e 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/bigtable/v2/InstanceName.java b/test/integration/goldens/bigtable/src/com/google/bigtable/v2/InstanceName.java index facab0ba0c..00f4c71710 100644 --- a/test/integration/goldens/bigtable/src/com/google/bigtable/v2/InstanceName.java +++ b/test/integration/goldens/bigtable/src/com/google/bigtable/v2/InstanceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/bigtable/v2/TableName.java b/test/integration/goldens/bigtable/src/com/google/bigtable/v2/TableName.java index 6ac2f5c1ef..5e9a778ba4 100644 --- a/test/integration/goldens/bigtable/src/com/google/bigtable/v2/TableName.java +++ b/test/integration/goldens/bigtable/src/com/google/bigtable/v2/TableName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java index 73846da576..34257fb4cd 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java index 48bbc8d337..3c73002983 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java index 6f319c7ff1..03e1b3cb87 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/MockBigtable.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/MockBigtable.java index 56c8ba8470..24940b75bd 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/MockBigtable.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/MockBigtable.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java index fc7aaf4a6d..3bd0a566b9 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/package-info.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/package-info.java index 39cea2b479..e3ad6f6568 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/package-info.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java index d8e6e2707e..f1777c805e 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java index 340d16e9a8..fcf1108e22 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java index b35383e6e8..202a5cac25 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java index 7f66a148fb..14c0a310e1 100644 --- a/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java +++ b/test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java index fd623a44bf..d2383df578 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java index 333c757c68..44ba3fb617 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java index 21afc1d2c0..de14d9802a 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java index 0320dc1970..fdf240aa0b 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java index ee626b3833..f267afcc39 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java index 49a9b34bf3..c0cc9d7d56 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java index 53a63b72eb..a913fd36fb 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java index 86c2dc5992..8039feb99f 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java index 8cc976a9a1..e8ec7dca47 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java index d9152c6c41..81681280c0 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java index c4004a223d..b75d5eecf3 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java index 4e70ce04b1..845fed832f 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java index 3c38ab50fb..2e743094a2 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java index 3f6d001f75..cb277d5a97 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java index 89088a5a04..0d745893bc 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java index e749bc7595..2d778f5d95 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java index 3c105181a7..453d27cfbe 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java index bc47d773c9..15cc7ff585 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressessettings/aggregatedlist/SyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressessettings/aggregatedlist/SyncAggregatedList.java index fa405f919b..e670636cc6 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressessettings/aggregatedlist/SyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressessettings/aggregatedlist/SyncAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java index 2768ddd357..ad005c82df 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java index d8bbb778d7..a4cba3b728 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java index ab424fc0c1..4d488b86a5 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java index 59138ed2e8..b3b5d2eb95 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java index 00ebf2a01e..616762834c 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java index f02fcb2fad..52414a5475 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java index 41c9b22574..0e8b1f782f 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java index 791fdfe170..07b28c97eb 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationssettings/get/SyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationssettings/get/SyncGet.java index 87bb6ca330..7412344826 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationssettings/get/SyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationssettings/get/SyncGet.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/addressesstubsettings/aggregatedlist/SyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/addressesstubsettings/aggregatedlist/SyncAggregatedList.java index 4d7ea1ee76..29f8d82dc3 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/addressesstubsettings/aggregatedlist/SyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/addressesstubsettings/aggregatedlist/SyncAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/regionoperationsstubsettings/get/SyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/regionoperationsstubsettings/get/SyncGet.java index 4e2e67f189..7a39b469d2 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/regionoperationsstubsettings/get/SyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/regionoperationsstubsettings/get/SyncGet.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesClient.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesClient.java index 97c16997d7..7da6db9b67 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesClient.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesClientTest.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesClientTest.java index 4703ae2a5d..53dd781ec9 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesClientTest.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesSettings.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesSettings.java index 2d0e5499e0..0a42a81785 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesSettings.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/AddressesSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsClient.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsClient.java index fd4d467126..d74718729f 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsClient.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsClientTest.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsClientTest.java index 38b94860a3..534b970655 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsClientTest.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsSettings.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsSettings.java index fa048fc7bb..e565834ed8 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsSettings.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/RegionOperationsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/package-info.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/package-info.java index ff8f7aa749..9a753364eb 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/package-info.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStub.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStub.java index d4b084b0e9..c234cee7b0 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStub.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStubSettings.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStubSettings.java index 5930ca3b99..93ea0d5361 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStubSettings.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonAddressesCallableFactory.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonAddressesCallableFactory.java index 2a43474a4b..bc57dec20a 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonAddressesCallableFactory.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonAddressesCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonAddressesStub.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonAddressesStub.java index b040b1a5d8..a6ee1e36b2 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonAddressesStub.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonAddressesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +33,7 @@ import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.compute.v1small.AddressAggregatedList; import com.google.cloud.compute.v1small.AddressList; @@ -319,21 +320,49 @@ protected HttpJsonAddressesStub( HttpJsonCallSettings.newBuilder() .setMethodDescriptor(aggregatedListMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + return builder.build(); + }) .build(); HttpJsonCallSettings deleteTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(deleteMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("address", String.valueOf(request.getAddress())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("region", String.valueOf(request.getRegion())); + return builder.build(); + }) .build(); HttpJsonCallSettings insertTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(insertMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("region", String.valueOf(request.getRegion())); + return builder.build(); + }) .build(); HttpJsonCallSettings listTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("region", String.valueOf(request.getRegion())); + return builder.build(); + }) .build(); this.aggregatedListCallable = diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonRegionOperationsCallableFactory.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonRegionOperationsCallableFactory.java index d1c106b52c..44500cb712 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonRegionOperationsCallableFactory.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonRegionOperationsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonRegionOperationsStub.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonRegionOperationsStub.java index 9e3ae4468e..6e7a7ed27d 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonRegionOperationsStub.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/HttpJsonRegionOperationsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.LongRunningClient; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.compute.v1small.GetRegionOperationRequest; import com.google.cloud.compute.v1small.Operation; @@ -197,11 +198,27 @@ protected HttpJsonRegionOperationsStub( HttpJsonCallSettings.newBuilder() .setMethodDescriptor(getMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("operation", String.valueOf(request.getOperation())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("region", String.valueOf(request.getRegion())); + return builder.build(); + }) .build(); HttpJsonCallSettings waitTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(waitMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("operation", String.valueOf(request.getOperation())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("region", String.valueOf(request.getRegion())); + return builder.build(); + }) .build(); this.getCallable = diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStub.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStub.java index 1449fd94c9..34f696897d 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStub.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStubSettings.java b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStubSettings.java index 5809c6a686..f117b480f9 100644 --- a/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStubSettings.java +++ b/test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java index 129efb9d77..56c22c3aeb 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider1.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider1.java index 91ce887f89..d6aab702c9 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider1.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider1.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java index 186d106cf4..39f1cadfb9 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java index 08e741cc66..bedc786c21 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java index 2a673667d2..512042d875 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java index d0f33dd855..a0c969e299 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java index 677d546b13..719badd7bd 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java index 14a6f9a845..d5c3b5d2ec 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java index 324dd1adf3..28f5e8f10e 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java index cd3c4aafc4..eee88f8f48 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java index 373f8a35de..cc95c6e0f1 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java index 6cafdbbfcd..f4bf99bbc5 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java index a4726eba69..569a5f831e 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java index 60eb3b8789..5dd35d50af 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java index bd0c2f01bb..b0c94b4d6d 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java index d17fc4c438..bacbaaf666 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java index 77586e2558..69b26c6275 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java index 5ed7463567..f27cd79bcc 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java index 04ebefdbbc..6109f2104a 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java index 2e6a9be158..8afd76e299 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java index f23179fcee..0f6bf894e2 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IAMCredentialsClientHttpJsonTest.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IAMCredentialsClientHttpJsonTest.java index 88066c5981..0ddc379f57 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IAMCredentialsClientHttpJsonTest.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IAMCredentialsClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IAMCredentialsClientTest.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IAMCredentialsClientTest.java index 645c5d35f2..baca549ee7 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IAMCredentialsClientTest.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IAMCredentialsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java index a47ddfc598..aa18c91623 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java index 768353fbf8..80a81acf35 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java index c6c2043b77..1e61159ca2 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java index 8d07b9c0e9..6cc61f8ea0 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/ServiceAccountName.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/ServiceAccountName.java index 8b33ba87f7..9d69721a97 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/ServiceAccountName.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/ServiceAccountName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/package-info.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/package-info.java index ab0c43dcfc..f03b5c3063 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/package-info.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java index a72a202220..94e9bf9db8 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java index f0086734a9..3d51a4d38b 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest; import com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse; @@ -30,7 +31,6 @@ import com.google.cloud.iam.credentials.v1.SignBlobResponse; import com.google.cloud.iam.credentials.v1.SignJwtRequest; import com.google.cloud.iam.credentials.v1.SignJwtResponse; -import com.google.common.collect.ImmutableMap; import com.google.longrunning.stub.GrpcOperationsStub; import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; @@ -143,9 +143,9 @@ protected GrpcIamCredentialsStub( .setMethodDescriptor(generateAccessTokenMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -154,9 +154,9 @@ protected GrpcIamCredentialsStub( .setMethodDescriptor(generateIdTokenMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings signBlobTransportSettings = @@ -164,9 +164,9 @@ protected GrpcIamCredentialsStub( .setMethodDescriptor(signBlobMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings signJwtTransportSettings = @@ -174,9 +174,9 @@ protected GrpcIamCredentialsStub( .setMethodDescriptor(signJwtMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/HttpJsonIamCredentialsCallableFactory.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/HttpJsonIamCredentialsCallableFactory.java index e4bef703e7..8fad431ae4 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/HttpJsonIamCredentialsCallableFactory.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/HttpJsonIamCredentialsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/HttpJsonIamCredentialsStub.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/HttpJsonIamCredentialsStub.java index 775ed7b4fe..c3254effa9 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/HttpJsonIamCredentialsStub.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/HttpJsonIamCredentialsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest; import com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse; @@ -259,22 +260,46 @@ protected HttpJsonIamCredentialsStub( .newBuilder() .setMethodDescriptor(generateAccessTokenMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings generateIdTokenTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(generateIdTokenMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings signBlobTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(signBlobMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings signJwtTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(signJwtMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); this.generateAccessTokenCallable = diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java index 82f5375e2a..4f90ca6bd7 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java index e5277821f6..ce05718aa7 100644 --- a/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java +++ b/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java index 5b8e4b2079..50ea4d70b0 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java index fe71ec9934..8767e58170 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java index 768a0bde7c..1150c69be5 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java index 6a2c286638..2f1abea0f6 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java index aa49a11546..666eb775ca 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java index aa11307ddd..d084631fae 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java index ebaa1ba351..5543b02e8d 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java index 70921f8b0f..b226c3e1f7 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java index f97670d70b..37d8908d5f 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/stub/iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/stub/iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java index 326c24a6dc..f065f862fc 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/stub/iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/stub/iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicyClient.java b/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicyClient.java index 38b492c7f9..43009b89f4 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicyClient.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicyClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicyClientTest.java b/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicyClientTest.java index 48ed61928a..8c83e6219c 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicyClientTest.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicyClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicySettings.java b/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicySettings.java index f9c75c136d..c482988306 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicySettings.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/IAMPolicySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/MockIAMPolicy.java b/test/integration/goldens/iam/src/com/google/iam/v1/MockIAMPolicy.java index 3d7859824b..eca400e7d6 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/MockIAMPolicy.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/MockIAMPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/MockIAMPolicyImpl.java b/test/integration/goldens/iam/src/com/google/iam/v1/MockIAMPolicyImpl.java index 6da0eedc93..218cc5c223 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/MockIAMPolicyImpl.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/MockIAMPolicyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/package-info.java b/test/integration/goldens/iam/src/com/google/iam/v1/package-info.java index 16b4ed05aa..c31beb7ded 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/package-info.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/stub/GrpcIAMPolicyCallableFactory.java b/test/integration/goldens/iam/src/com/google/iam/v1/stub/GrpcIAMPolicyCallableFactory.java index a98734ff4e..609da69e2b 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/stub/GrpcIAMPolicyCallableFactory.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/stub/GrpcIAMPolicyCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/stub/GrpcIAMPolicyStub.java b/test/integration/goldens/iam/src/com/google/iam/v1/stub/GrpcIAMPolicyStub.java index 310f021378..e734c54817 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/stub/GrpcIAMPolicyStub.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/stub/GrpcIAMPolicyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -122,9 +122,9 @@ protected GrpcIAMPolicyStub( .setMethodDescriptor(setIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings getIamPolicyTransportSettings = @@ -132,9 +132,9 @@ protected GrpcIAMPolicyStub( .setMethodDescriptor(getIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings @@ -143,9 +143,9 @@ protected GrpcIAMPolicyStub( .setMethodDescriptor(testIamPermissionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/stub/IAMPolicyStub.java b/test/integration/goldens/iam/src/com/google/iam/v1/stub/IAMPolicyStub.java index f7fe9b9524..ed610a35ae 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/stub/IAMPolicyStub.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/stub/IAMPolicyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/iam/src/com/google/iam/v1/stub/IAMPolicyStubSettings.java b/test/integration/goldens/iam/src/com/google/iam/v1/stub/IAMPolicyStubSettings.java index 0996e5b64e..206413f290 100644 --- a/test/integration/goldens/iam/src/com/google/iam/v1/stub/IAMPolicyStubSettings.java +++ b/test/integration/goldens/iam/src/com/google/iam/v1/stub/IAMPolicyStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java index 2768ea0ab8..cc2a4f437f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java index 13ee008da3..7fb5390fc3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java index 402cbd4ecb..f168f08094 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java index 2e7e021dce..b411fef6a8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java index 458da95d07..f896350580 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java index 6d38dccafe..6840faccbe 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java index 2f3802533a..94e66bbc54 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java index 905a71eb32..ef2f5569bf 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java index c96d3a6bdf..041669de77 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java index deb933fa8a..f9e66e56f1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java index 4ffbf58a50..dd9d621827 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java index ea9b536553..f3fad688d7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java index d8cec59da0..5e5a2651a9 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java index ba7eda7d35..836c6af3dd 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java index e4fe7cef5c..b989796311 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java index 3d5b68f74a..75876feefb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java index 6fa204a3da..453ca5530a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java index 5a64f18b00..ff8bc3e1d1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java index 458b666b2a..3db848ec15 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java index 10ac1fe7ee..04602a2f69 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java index e25252b6a0..97e2f92c1c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java index 69d497e017..72c78fa6f9 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java index d39ca8f888..a68808a85c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java index c58aa6961a..405ca8d1ad 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java index 46add0d8c9..3dd2c39280 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java index 067e82288a..638e11b63a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java index 6a32d6f8e1..fbb987567f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java index dac8b2ca95..7c3930442e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java index a2980791bd..577ef88575 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java index b94582483c..e452a4e86b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java index 8a42b375c3..e30a288614 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java index c2bb7e68d4..222573ab26 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java index 560f768080..e6dc417d23 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java index 60880a6a3a..e1f3c5e1bb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java index b31c045a11..5764aac370 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java index 0c8fe72c44..e23902bc83 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java index 1b332fefc8..8606d7979f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java index 07762a2140..da7a039f58 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java index 0a317395bc..bb5ea9bbc7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java index 5bc4d96d8a..32c9dcb472 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java index 9c07a8a3f9..2a6fdb47fb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java index 9216849d6b..54526a32ae 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java index bdc547e7bf..cd34d1ff94 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java index 22ce91d55e..fc941f4e9a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java index 73aa2d577a..0bcdac28f1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java index 67abf494d5..80b917e2a1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java index 93eb30dac0..47b5fc2268 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java index 5e0bfa23da..cee42c7c0b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java index bcad674dc7..e9c4860997 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java index 7cd02a81ea..b8c6f7c8c9 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java index ec16718779..6b027a672a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java index ad8655ede8..71010664ca 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java index 59a16e8740..18ab2968dd 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java index a880293179..a087e951bf 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java index 5353772a9f..d3de111058 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java index b6305c4ce7..840a717027 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java index b496695cc2..6367186a7d 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java index 5972b43835..3f6a88330c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java index 1ba333176d..6771469a14 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java index cd3d9e3e13..adecee13ed 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java index 933f9681ab..d5ac4e736a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java index 371d27f697..55daa29e91 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java index 7325f636c0..c4706916dd 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java index e6c5a63a11..f03e33329c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java index 6d8d539696..56718da9b0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java index 06b5ceb184..9af5639d8a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java index 1d4cacf80e..239430c5a3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java index 9f24627011..99c3e8e0d2 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java index b32726dab8..8588e2f8b2 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java index 59182b4b2d..f111c1e181 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java index ac7a2dd8a4..3e404e16de 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java index 68a38385ca..38e4405d10 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java index 0941b5c4d7..ccef051d82 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java index 6cd8fc6850..04d36658ce 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java index 192e034b1e..d3fd99c208 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java index 59b6b51662..7c3b0e7fa7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java index dfd76a428b..af2ad4042a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java index 4500177df1..8b2e78e275 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java index 66d5957f30..488d0a38c5 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java index 83d8701f1a..7f30ccb06e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java index 381b2c92a0..56f7122763 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java index 732646f6e8..e574ee3e4f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java index 9a75758574..48bcb39508 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java index 49ab833c61..b41c7a012c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java index 7719410624..b9bf48e196 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java index c5ac23eeb3..83b07c6e29 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java index c377381038..00d2dee8a0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java index 1bad87972d..3cadf3766e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java index 68b6ed6531..b37720cdf1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java index 986539cc01..683b766b9a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java index fc372ed700..b80fe13beb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java index ac5a891597..79ea7dec55 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java index 2394e3686b..75f80b0576 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java index 3c70757f69..5352b33e19 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java index 19f8b75878..89c6a1169f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java index b61deebb66..9adf51936a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java index 5d1306e7f6..cef1efa77b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java index 91c10be799..882d593893 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java index 302e5fa67b..85f1325c1f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java index 377b15c87f..fc6feb84c7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java index 801687a7a6..a1d1995b8f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java index 20825bbf94..154b5d97f8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java index 3b54c8b97f..038152b7e3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java index 3a20509fde..794e8fe8c5 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java index 75547f5f7a..bc4d2d4476 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/CryptoKeyName.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/CryptoKeyName.java index 335628166a..da3fd1ed73 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/CryptoKeyName.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/CryptoKeyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/CryptoKeyVersionName.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/CryptoKeyVersionName.java index 5991b1a750..50f3931496 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/CryptoKeyVersionName.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/CryptoKeyVersionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/ImportJobName.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/ImportJobName.java index f601253f3f..9d765f7a21 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/ImportJobName.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/ImportJobName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceClient.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceClient.java index 75782a6312..23f83c2389 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceClient.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java index 9bea7f040e..bd5075cfcd 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceSettings.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceSettings.java index 8839772cec..7e86f7b23f 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceSettings.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyManagementServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyRingName.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyRingName.java index 6663468fb6..1849240828 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyRingName.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/KeyRingName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/LocationName.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/LocationName.java index 3c76f221c1..51a7d94ecf 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/LocationName.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/LocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockIAMPolicy.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockIAMPolicy.java index 829e78d2d3..3a01f22d99 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockIAMPolicy.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockIAMPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockIAMPolicyImpl.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockIAMPolicyImpl.java index a944265e4c..96a620d98b 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockIAMPolicyImpl.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockIAMPolicyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockKeyManagementService.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockKeyManagementService.java index 10fb060ed8..3f7d6729bd 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockKeyManagementService.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockKeyManagementService.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockKeyManagementServiceImpl.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockKeyManagementServiceImpl.java index c9c217d612..088a0f6e71 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockKeyManagementServiceImpl.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockKeyManagementServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockLocations.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockLocations.java index d025927eab..0627b4c3f3 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockLocations.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockLocations.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockLocationsImpl.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockLocationsImpl.java index 340e0a3df3..a934aa4690 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockLocationsImpl.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/MockLocationsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/package-info.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/package-info.java index 648574c088..99b038f914 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/package-info.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceCallableFactory.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceCallableFactory.java index 72cb7f8589..9c03d7854a 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceCallableFactory.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceStub.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceStub.java index c793994494..832a2ca2cc 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceStub.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.kms.v1.AsymmetricDecryptRequest; import com.google.cloud.kms.v1.AsymmetricDecryptResponse; @@ -68,7 +69,6 @@ import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; import com.google.cloud.location.Location; -import com.google.common.collect.ImmutableMap; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; import com.google.iam.v1.TestIamPermissionsRequest; @@ -451,9 +451,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(listKeyRingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings @@ -462,9 +462,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(listCryptoKeysMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings @@ -474,9 +474,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(listCryptoKeyVersionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings @@ -485,9 +485,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(listImportJobsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getKeyRingTransportSettings = @@ -495,9 +495,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(getKeyRingMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getCryptoKeyTransportSettings = @@ -505,9 +505,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(getCryptoKeyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -516,9 +516,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(getCryptoKeyVersionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getPublicKeyTransportSettings = @@ -526,9 +526,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(getPublicKeyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getImportJobTransportSettings = @@ -536,9 +536,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(getImportJobMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createKeyRingTransportSettings = @@ -546,9 +546,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(createKeyRingMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings createCryptoKeyTransportSettings = @@ -556,9 +556,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(createCryptoKeyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings @@ -567,9 +567,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(createCryptoKeyVersionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings @@ -578,9 +578,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(importCryptoKeyVersionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings createImportJobTransportSettings = @@ -588,9 +588,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(createImportJobMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateCryptoKeyTransportSettings = @@ -598,9 +598,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(updateCryptoKeyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("crypto_key.name", String.valueOf(request.getCryptoKey().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("crypto_key.name", String.valueOf(request.getCryptoKey().getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -609,11 +609,11 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(updateCryptoKeyVersionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put( + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( "crypto_key_version.name", String.valueOf(request.getCryptoKeyVersion().getName())); - return params.build(); + return builder.build(); }) .build(); GrpcCallSettings encryptTransportSettings = @@ -621,9 +621,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(encryptMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings decryptTransportSettings = @@ -631,9 +631,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(decryptMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -642,9 +642,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(asymmetricSignMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -653,9 +653,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(asymmetricDecryptMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -664,9 +664,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(updateCryptoKeyPrimaryVersionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -675,9 +675,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(destroyCryptoKeyVersionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -686,9 +686,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(restoreCryptoKeyVersionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getIamPolicyTransportSettings = @@ -696,9 +696,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(getIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings listLocationsTransportSettings = @@ -706,10 +706,10 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(listLocationsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("filter", String.valueOf(request.getFilter())); - params.put("page_size", String.valueOf(request.getPageSize())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("filter", String.valueOf(request.getFilter())); + builder.add("page_size", String.valueOf(request.getPageSize())); + return builder.build(); }) .build(); GrpcCallSettings getLocationTransportSettings = @@ -717,9 +717,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(getLocationMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -728,9 +728,9 @@ protected GrpcKeyManagementServiceStub( .setMethodDescriptor(testIamPermissionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/KeyManagementServiceStub.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/KeyManagementServiceStub.java index 53dd2d9b02..021a5a6aea 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/KeyManagementServiceStub.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/KeyManagementServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java index 319425e612..2ff433f004 100644 --- a/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java +++ b/test/integration/goldens/kms/src/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java index 0a449701a1..6feec3f02f 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider1.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider1.java index 3258a152b4..97e069a04b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider1.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider1.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java index 1ed4230d03..77c2ee9c63 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java index d58d7c2ca5..6222c21b94 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java index 206c7673f5..0e94cd6ed4 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java index 5cd834c754..a5884b78fb 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java index 97a22b457a..356965aab9 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java index a6707d3f05..14634e1b6b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java index b1017b8894..9fa234edac 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java index d594994378..2ebc9e99e9 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java index 1402bdeb2b..1660fd1bf2 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java index ce5f72f7d4..2c87a18058 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java index 4984014875..df46852380 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java index 2747919b8c..1f76cdabbc 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java index 00960baafe..22dbf81f1e 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java index 737844b638..cb3c19f529 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java index 5b9a49da88..f40247fcf9 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java index 6a1bc22c88..9382020ee5 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java index 19f18d0b29..56797bb925 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java index 31858147ef..002ab5172c 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java index 718395228e..378254ac36 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java index 5c7f398a5e..8cc7e4d7f2 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java index 0d7d770f7c..dd55a2965b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java index b6ddbfd368..effbefaee4 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java index 7d6955a5f7..7cd91ff678 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java index 9f4e413306..4e6e3ec908 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java index b5b4237d8b..116a4510f8 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java index 243f5c6525..a62e76cd3d 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java index 34a171a818..64dd251569 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java index fc80b4f278..194ad0e13f 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java index e1b8889824..6fc75f8dbb 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java index a211012179..4531051eec 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java index b4c6b47d3e..4a1619bbb0 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java index 05a25be7c7..460e7c79f5 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java index c987d1f46a..23e96682d2 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java index 789de5490d..2738e74472 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java index db19cd564f..5a13c081d5 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java index e0d1e6e92e..35a3f79d17 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java index 069e1c53a9..c75cf2964d 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java index a43b537dff..978e32c467 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java index d708cf7261..4a9d600159 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java index f6550c13c4..90a4376800 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java index 99c1fd34f9..19eebcde14 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java index c9054e654d..3764bd4f47 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java index be18f93ee6..275b7f2a35 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java index f138247526..824f8aa3b8 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java index f2d4c0b210..53ba7b952b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java index cf7e3d0518..d30318efda 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java index d35550ea87..7ab9dd98d3 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java index f308ba1d66..8a5543bfdf 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java index 0634f4ea7c..e5a4dc596e 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClient.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClient.java index 62b3720f3f..0796286c2e 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClient.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClientHttpJsonTest.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClientHttpJsonTest.java index 053aee7581..5c151f0c8e 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClientHttpJsonTest.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClientTest.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClientTest.java index 4e6065325a..2aadaef721 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClientTest.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceSettings.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceSettings.java index 32fdff5cc0..75de562fb0 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceSettings.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/LibraryServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/MockLibraryService.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/MockLibraryService.java index a5fd111f9a..62d8222d1b 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/MockLibraryService.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/MockLibraryService.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/MockLibraryServiceImpl.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/MockLibraryServiceImpl.java index 5e7a2ba81f..7c08f6f26b 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/MockLibraryServiceImpl.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/MockLibraryServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/package-info.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/package-info.java index 677d1ff309..9dd00066b9 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/package-info.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/GrpcLibraryServiceCallableFactory.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/GrpcLibraryServiceCallableFactory.java index b0d4f2bbfe..f82da43a70 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/GrpcLibraryServiceCallableFactory.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/GrpcLibraryServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/GrpcLibraryServiceStub.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/GrpcLibraryServiceStub.java index 9cfb034f16..89d8bff088 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/GrpcLibraryServiceStub.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/GrpcLibraryServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,8 +24,8 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.example.library.v1.Book; import com.google.example.library.v1.CreateBookRequest; import com.google.example.library.v1.CreateShelfRequest; @@ -217,9 +217,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(getShelfMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listShelvesTransportSettings = @@ -231,9 +231,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(deleteShelfMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings mergeShelvesTransportSettings = @@ -241,9 +241,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(mergeShelvesMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createBookTransportSettings = @@ -251,9 +251,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(createBookMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getBookTransportSettings = @@ -261,9 +261,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(getBookMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listBooksTransportSettings = @@ -271,9 +271,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(listBooksMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings deleteBookTransportSettings = @@ -281,9 +281,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(deleteBookMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings updateBookTransportSettings = @@ -291,9 +291,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(updateBookMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("book.name", String.valueOf(request.getBook().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("book.name", String.valueOf(request.getBook().getName())); + return builder.build(); }) .build(); GrpcCallSettings moveBookTransportSettings = @@ -301,9 +301,9 @@ protected GrpcLibraryServiceStub( .setMethodDescriptor(moveBookMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/HttpJsonLibraryServiceCallableFactory.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/HttpJsonLibraryServiceCallableFactory.java index 3038d9f06a..41d0800761 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/HttpJsonLibraryServiceCallableFactory.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/HttpJsonLibraryServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/HttpJsonLibraryServiceStub.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/HttpJsonLibraryServiceStub.java index 4e1cec309a..565318ff8b 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/HttpJsonLibraryServiceStub.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/HttpJsonLibraryServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.example.library.v1.Book; import com.google.example.library.v1.CreateBookRequest; @@ -514,6 +515,12 @@ protected HttpJsonLibraryServiceStub( HttpJsonCallSettings.newBuilder() .setMethodDescriptor(getShelfMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings listShelvesTransportSettings = HttpJsonCallSettings.newBuilder() @@ -524,41 +531,89 @@ protected HttpJsonLibraryServiceStub( HttpJsonCallSettings.newBuilder() .setMethodDescriptor(deleteShelfMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings mergeShelvesTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(mergeShelvesMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings createBookTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(createBookMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings getBookTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(getBookMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings listBooksTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listBooksMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings deleteBookTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(deleteBookMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings updateBookTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(updateBookMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("book.name", String.valueOf(request.getBook().getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings moveBookTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(moveBookMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); this.createShelfCallable = diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStub.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStub.java index 6976c36bfb..b260be31e7 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStub.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStubSettings.java b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStubSettings.java index 95e760d66b..a744a16190 100644 --- a/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStubSettings.java +++ b/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/example/library/v1/BookName.java b/test/integration/goldens/library/src/com/google/example/library/v1/BookName.java index d27ce74c18..ff077c1bb0 100644 --- a/test/integration/goldens/library/src/com/google/example/library/v1/BookName.java +++ b/test/integration/goldens/library/src/com/google/example/library/v1/BookName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/library/src/com/google/example/library/v1/ShelfName.java b/test/integration/goldens/library/src/com/google/example/library/v1/ShelfName.java index 677d5adf29..e2005f9d72 100644 --- a/test/integration/goldens/library/src/com/google/example/library/v1/ShelfName.java +++ b/test/integration/goldens/library/src/com/google/example/library/v1/ShelfName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/AsyncCopyLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/AsyncCopyLogEntries.java index dfc34476a7..bed20beb35 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/AsyncCopyLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/AsyncCopyLogEntries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/AsyncCopyLogEntriesLRO.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/AsyncCopyLogEntriesLRO.java index fa48b84f36..5eeca2b748 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/AsyncCopyLogEntriesLRO.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/AsyncCopyLogEntriesLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/SyncCopyLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/SyncCopyLogEntries.java index 5a960a0cc5..f1f5c419e4 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/SyncCopyLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/copylogentries/SyncCopyLogEntries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/create/SyncCreateSetCredentialsProvider.java index 0ede8778f3..847d807682 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/create/SyncCreateSetEndpoint.java index 37429d4a67..8d724717ce 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createbucket/AsyncCreateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createbucket/AsyncCreateBucket.java index 9f9c69a77d..4ae6ae8968 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createbucket/AsyncCreateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createbucket/AsyncCreateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createbucket/SyncCreateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createbucket/SyncCreateBucket.java index 5cc7bc15b2..71d394247f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createbucket/SyncCreateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createbucket/SyncCreateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/AsyncCreateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/AsyncCreateExclusion.java index b196b21eaf..c6e2dda90a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/AsyncCreateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/AsyncCreateExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusion.java index f2a6dce03c..abbe244561 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java index 145ed771c3..136437a4a7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java index 3d2be77d9d..6feb827eef 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java index e4198831ce..92e5e01f83 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java index ef4e209480..bcd9b642ca 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionStringLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionStringLogexclusion.java index 301ea7dcb3..d85b425635 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionStringLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createexclusion/SyncCreateExclusionStringLogexclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/AsyncCreateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/AsyncCreateSink.java index 88e10b4b70..9670be2fc8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/AsyncCreateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/AsyncCreateSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSink.java index 35e03311e3..582bee16ee 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkBillingaccountnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkBillingaccountnameLogsink.java index 76950150a9..6724cad461 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkBillingaccountnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkBillingaccountnameLogsink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkFoldernameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkFoldernameLogsink.java index 935f2132c8..a7d1de2931 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkFoldernameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkFoldernameLogsink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkOrganizationnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkOrganizationnameLogsink.java index 428ae218be..8f972613f7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkOrganizationnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkOrganizationnameLogsink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkProjectnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkProjectnameLogsink.java index f8bec0d167..f916d85feb 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkProjectnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkProjectnameLogsink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkStringLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkStringLogsink.java index 1a840db162..d75228af76 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkStringLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createsink/SyncCreateSinkStringLogsink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createview/AsyncCreateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createview/AsyncCreateView.java index b762e49489..9e93d6a16d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createview/AsyncCreateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createview/AsyncCreateView.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createview/SyncCreateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createview/SyncCreateView.java index 5f5ef37cb6..5480c71111 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createview/SyncCreateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/createview/SyncCreateView.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletebucket/AsyncDeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletebucket/AsyncDeleteBucket.java index 5c587bdefd..48f979ecca 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletebucket/AsyncDeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletebucket/AsyncDeleteBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletebucket/SyncDeleteBucket.java index d3aa6996c2..ecb9e7253b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletebucket/SyncDeleteBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/AsyncDeleteExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/AsyncDeleteExclusion.java index 506e711260..4c86c3e4b0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/AsyncDeleteExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/AsyncDeleteExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusion.java index eea1f9c310..a5c6deb5ce 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusionLogexclusionname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusionLogexclusionname.java index cb6123be51..d84694e4c4 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusionLogexclusionname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusionLogexclusionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusionString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusionString.java index 701c940ef7..177e230bff 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusionString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteexclusion/SyncDeleteExclusionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/AsyncDeleteSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/AsyncDeleteSink.java index 56a4d9dc1a..d1fb26a1c2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/AsyncDeleteSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/AsyncDeleteSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSink.java index 19759e39ca..eb4e0b35ec 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSinkLogsinkname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSinkLogsinkname.java index eb9d8c45af..06715983cc 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSinkLogsinkname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSinkLogsinkname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSinkString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSinkString.java index 19ccef5c23..bf3c88bd7d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSinkString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deletesink/SyncDeleteSinkString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteview/AsyncDeleteView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteview/AsyncDeleteView.java index 8b92bebeb7..68270b6e11 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteview/AsyncDeleteView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteview/AsyncDeleteView.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteview/SyncDeleteView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteview/SyncDeleteView.java index fe09d90db1..0e28a0ef5a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteview/SyncDeleteView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/deleteview/SyncDeleteView.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getbucket/AsyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getbucket/AsyncGetBucket.java index 4e0599b144..6021be2325 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getbucket/AsyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getbucket/AsyncGetBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getbucket/SyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getbucket/SyncGetBucket.java index 996d6d8d0a..1eb85fc7ba 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getbucket/SyncGetBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getcmeksettings/AsyncGetCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getcmeksettings/AsyncGetCmekSettings.java index ad161fa1cd..c6e1d2ebd7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getcmeksettings/AsyncGetCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getcmeksettings/AsyncGetCmekSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getcmeksettings/SyncGetCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getcmeksettings/SyncGetCmekSettings.java index d1cc6edb97..e09ffa32e2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getcmeksettings/SyncGetCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getcmeksettings/SyncGetCmekSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/AsyncGetExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/AsyncGetExclusion.java index cd68cdbd23..13bc773cbb 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/AsyncGetExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/AsyncGetExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusion.java index 02526a974e..34fb1cae33 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusionLogexclusionname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusionLogexclusionname.java index 7007f21027..a72f1de451 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusionLogexclusionname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusionLogexclusionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusionString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusionString.java index 9644892476..5ea00b3aa6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusionString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getexclusion/SyncGetExclusionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/AsyncGetSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/AsyncGetSettings.java index 7010b66034..98450d45d8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/AsyncGetSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/AsyncGetSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettings.java index fc14b3b4e0..beadce3f5c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettingsSettingsname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettingsSettingsname.java index bd56a8a24a..7ca58834a5 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettingsSettingsname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettingsSettingsname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettingsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettingsString.java index fdda9a2fea..c670b18491 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettingsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsettings/SyncGetSettingsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/AsyncGetSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/AsyncGetSink.java index 5741024009..06442bcc7d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/AsyncGetSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/AsyncGetSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSink.java index 5a204ee514..8c8af6f4ca 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSinkLogsinkname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSinkLogsinkname.java index 69624dd227..b36cf9becc 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSinkLogsinkname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSinkLogsinkname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSinkString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSinkString.java index d60d3e89fa..fd712ac600 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSinkString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getsink/SyncGetSinkString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getview/AsyncGetView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getview/AsyncGetView.java index fca576b053..07b6330eff 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getview/AsyncGetView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getview/AsyncGetView.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getview/SyncGetView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getview/SyncGetView.java index 6162982ac0..b8d6c7693d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getview/SyncGetView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/getview/SyncGetView.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/AsyncListBuckets.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/AsyncListBuckets.java index 4a415a51e4..4cdf1d302b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/AsyncListBuckets.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/AsyncListBuckets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/AsyncListBucketsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/AsyncListBucketsPaged.java index abd004d18a..c242c6910c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/AsyncListBucketsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/AsyncListBucketsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBuckets.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBuckets.java index cced74307b..4f221112cb 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBuckets.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBuckets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsBillingaccountlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsBillingaccountlocationname.java index 210f92506a..a4380ed6f8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsBillingaccountlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsBillingaccountlocationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsFolderlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsFolderlocationname.java index 9b964e318c..f3f33256d8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsFolderlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsFolderlocationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsLocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsLocationname.java index 6eb3c8dccb..a6774438b0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsLocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsLocationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsOrganizationlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsOrganizationlocationname.java index a8c3d488b5..a72d7a4ec5 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsOrganizationlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsOrganizationlocationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsString.java index e12f7e109d..6110e00c2b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listbuckets/SyncListBucketsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/AsyncListExclusions.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/AsyncListExclusions.java index 9962b6b147..1b594693f2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/AsyncListExclusions.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/AsyncListExclusions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/AsyncListExclusionsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/AsyncListExclusionsPaged.java index 34a44b8418..106f327067 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/AsyncListExclusionsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/AsyncListExclusionsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusions.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusions.java index 57efa08b83..93e34bbe1b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusions.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsBillingaccountname.java index 053d366a89..de52b43f63 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsBillingaccountname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsFoldername.java index e9a73d3f4f..bbd3f7ec64 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsFoldername.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsOrganizationname.java index db670ab3e1..d6e17cb19e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsOrganizationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsProjectname.java index 27142979e0..928434aa76 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsString.java index 6f2889389b..f2e12aaba2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listexclusions/SyncListExclusionsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/AsyncListSinks.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/AsyncListSinks.java index bab6ac1100..1c9398e28c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/AsyncListSinks.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/AsyncListSinks.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/AsyncListSinksPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/AsyncListSinksPaged.java index 8221ed0e47..815e5b80a9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/AsyncListSinksPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/AsyncListSinksPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinks.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinks.java index 665b6f1e39..9a9600dce0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinks.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinks.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksBillingaccountname.java index 41c8f681ef..ff5f3ff814 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksBillingaccountname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksFoldername.java index 2b7d35ab97..9fb0a3d77e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksFoldername.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksOrganizationname.java index 264990af48..ceeeba8b01 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksOrganizationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksProjectname.java index e44b6205ca..a88cfe2dde 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksString.java index 52585a2f61..d3e7883250 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listsinks/SyncListSinksString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/AsyncListViews.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/AsyncListViews.java index 2f50413e92..ba0eb83380 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/AsyncListViews.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/AsyncListViews.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/AsyncListViewsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/AsyncListViewsPaged.java index c11f0129e6..47c7d704a6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/AsyncListViewsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/AsyncListViewsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/SyncListViews.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/SyncListViews.java index b47aa44bce..e98adba487 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/SyncListViews.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/SyncListViews.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/SyncListViewsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/SyncListViewsString.java index e4375e0440..343918aed1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/SyncListViewsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/listviews/SyncListViewsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/undeletebucket/AsyncUndeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/undeletebucket/AsyncUndeleteBucket.java index bbc765fad4..628b5b6360 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/undeletebucket/AsyncUndeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/undeletebucket/AsyncUndeleteBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/undeletebucket/SyncUndeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/undeletebucket/SyncUndeleteBucket.java index a701841e37..22ba441c93 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/undeletebucket/SyncUndeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/undeletebucket/SyncUndeleteBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatebucket/AsyncUpdateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatebucket/AsyncUpdateBucket.java index 3b41eca05a..8e9f81a88b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatebucket/AsyncUpdateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatebucket/AsyncUpdateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatebucket/SyncUpdateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatebucket/SyncUpdateBucket.java index a869306187..f99f417ad7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatebucket/SyncUpdateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatebucket/SyncUpdateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatecmeksettings/AsyncUpdateCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatecmeksettings/AsyncUpdateCmekSettings.java index fd173d5072..9004da8d4d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatecmeksettings/AsyncUpdateCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatecmeksettings/AsyncUpdateCmekSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatecmeksettings/SyncUpdateCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatecmeksettings/SyncUpdateCmekSettings.java index f0c7feb985..7804688928 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatecmeksettings/SyncUpdateCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatecmeksettings/SyncUpdateCmekSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/AsyncUpdateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/AsyncUpdateExclusion.java index 7b24e77c6f..11f88540c8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/AsyncUpdateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/AsyncUpdateExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusion.java index 5599414833..629baa180b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java index bc402ea94c..4d4bd19f0f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java index 8e20f45a0b..7bb6b7927b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/AsyncUpdateSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/AsyncUpdateSettings.java index 9523d4904a..e15cac9fc9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/AsyncUpdateSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/AsyncUpdateSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/SyncUpdateSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/SyncUpdateSettings.java index cf8ed12d64..fff88bf8f9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/SyncUpdateSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/SyncUpdateSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/SyncUpdateSettingsSettingsFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/SyncUpdateSettingsSettingsFieldmask.java index 9d5430faeb..013f09b8dc 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/SyncUpdateSettingsSettingsFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesettings/SyncUpdateSettingsSettingsFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/AsyncUpdateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/AsyncUpdateSink.java index e4d5c91e85..10864dba88 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/AsyncUpdateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/AsyncUpdateSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSink.java index af470dcb04..1d96a57ade 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkLogsinknameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkLogsinknameLogsink.java index f74d2c33de..e5d76471d4 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkLogsinknameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkLogsinknameLogsink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java index aec9fbcd1f..46b02c90a3 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkStringLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkStringLogsink.java index 902dc0926a..6c99e2e2c1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkStringLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkStringLogsink.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java index ff275027c0..bb590990e0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateview/AsyncUpdateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateview/AsyncUpdateView.java index 15c5e06efe..39166534c2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateview/AsyncUpdateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateview/AsyncUpdateView.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateview/SyncUpdateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateview/SyncUpdateView.java index fbe179a735..244a6b91ad 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateview/SyncUpdateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configservicev2/updateview/SyncUpdateView.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configsettings/getbucket/SyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configsettings/getbucket/SyncGetBucket.java index 4ce5011311..3244ec6c7f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configsettings/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configsettings/getbucket/SyncGetBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/create/SyncCreateSetCredentialsProvider.java index e816fa00c0..ce2ca59618 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/create/SyncCreateSetEndpoint.java index 8f45174e6d..807da3d721 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/AsyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/AsyncDeleteLog.java index ddfc69170c..8414054de5 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/AsyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/AsyncDeleteLog.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLog.java index 0f4b8d4815..e26b96e8b0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLog.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLogLogname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLogLogname.java index 58768449fc..0fe57b51b3 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLogLogname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLogLogname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLogString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLogString.java index 6322f88684..3cd97e9f71 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLogString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/deletelog/SyncDeleteLogString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/AsyncListLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/AsyncListLogEntries.java index 882c03d6ad..0a07e44463 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/AsyncListLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/AsyncListLogEntries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/AsyncListLogEntriesPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/AsyncListLogEntriesPaged.java index f018b6932d..5518988de3 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/AsyncListLogEntriesPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/AsyncListLogEntriesPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/SyncListLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/SyncListLogEntries.java index 0809ee3bae..8eb2bc034a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/SyncListLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/SyncListLogEntries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/SyncListLogEntriesListstringStringString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/SyncListLogEntriesListstringStringString.java index 0362f54077..159f9d834a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/SyncListLogEntriesListstringStringString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogentries/SyncListLogEntriesListstringStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/AsyncListLogs.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/AsyncListLogs.java index f953d535ba..2112a5b6ed 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/AsyncListLogs.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/AsyncListLogs.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/AsyncListLogsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/AsyncListLogsPaged.java index 8f1861dbc7..a40da8051a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/AsyncListLogsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/AsyncListLogsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogs.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogs.java index c3f2710ac0..0d1d84b426 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogs.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogs.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsBillingaccountname.java index 873f35192b..71b40db6c2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsBillingaccountname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsFoldername.java index 21f7c3d8f1..2eb3411eaf 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsFoldername.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsOrganizationname.java index 482880b0ea..3b88188128 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsOrganizationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsProjectname.java index 56ae4bede8..383f70ae12 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsString.java index 72be8ea87b..c40c8899dc 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listlogs/SyncListLogsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java index 7280fad4e7..61af6df8b2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java index cfc6c077af..d3b9fa998a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java index 14cc45dc9c..8f34380d6a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/taillogentries/AsyncTailLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/taillogentries/AsyncTailLogEntries.java index cc2ea957f7..a8c6119046 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/taillogentries/AsyncTailLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/taillogentries/AsyncTailLogEntries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/AsyncWriteLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/AsyncWriteLogEntries.java index 35a3265911..c2f567830b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/AsyncWriteLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/AsyncWriteLogEntries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntries.java index 8d0b01bf25..6bc010faea 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntries.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java index bd79f3dd2e..bfde9a1d80 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java index 830f5c9594..9f910adb52 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingservicev2/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingsettings/deletelog/SyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingsettings/deletelog/SyncDeleteLog.java index 11841688ba..46cf4bc767 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingsettings/deletelog/SyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingsettings/deletelog/SyncDeleteLog.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/create/SyncCreateSetCredentialsProvider.java index 01738692f9..e0a94b2035 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/create/SyncCreateSetEndpoint.java index 34cf57f15c..69fd30836a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/AsyncCreateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/AsyncCreateLogMetric.java index 4de99d41be..ea7a974960 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/AsyncCreateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/AsyncCreateLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetric.java index 1d7b15926b..afb5bf7b8c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java index a6b645e580..7496355b00 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetricStringLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetricStringLogmetric.java index 55f0d05910..b1fc6a5fd0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetricStringLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/createlogmetric/SyncCreateLogMetricStringLogmetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/AsyncDeleteLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/AsyncDeleteLogMetric.java index 9eaddcee33..f041771cf4 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/AsyncDeleteLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/AsyncDeleteLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetric.java index a0af69c351..44ffd5775a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetricLogmetricname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetricLogmetricname.java index 033de053ff..fb754804c4 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetricLogmetricname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetricLogmetricname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetricString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetricString.java index 69d8ab2df7..4561d5fced 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetricString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/deletelogmetric/SyncDeleteLogMetricString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/AsyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/AsyncGetLogMetric.java index 8bc22db42e..20f5ae8621 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/AsyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/AsyncGetLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetric.java index c3054b8c91..2d23efdc1f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetricLogmetricname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetricLogmetricname.java index be1612c929..9f39251028 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetricLogmetricname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetricLogmetricname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetricString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetricString.java index 8d28e37eb5..e2d39b4fb2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetricString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/getlogmetric/SyncGetLogMetricString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/AsyncListLogMetrics.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/AsyncListLogMetrics.java index 517656c0ec..0820cdab15 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/AsyncListLogMetrics.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/AsyncListLogMetrics.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/AsyncListLogMetricsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/AsyncListLogMetricsPaged.java index 1cc0315ef1..12f0f9b7c6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/AsyncListLogMetricsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/AsyncListLogMetricsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetrics.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetrics.java index d32b3af8e1..5c77109387 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetrics.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetrics.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetricsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetricsProjectname.java index f9da7ecb78..d47c6e758f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetricsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetricsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetricsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetricsString.java index a3e327bf56..327c3adac8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetricsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/listlogmetrics/SyncListLogMetricsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/AsyncUpdateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/AsyncUpdateLogMetric.java index d2c0ac2d2f..9df964cf15 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/AsyncUpdateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/AsyncUpdateLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetric.java index dd2f105604..72b19b6cd0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java index 656195a4f8..07e19b3561 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java index c3a8f822d2..e71c919d4d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsservicev2/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricssettings/getlogmetric/SyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricssettings/getlogmetric/SyncGetLogMetric.java index 7827c8c0a8..51a42adca1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricssettings/getlogmetric/SyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricssettings/getlogmetric/SyncGetLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/configservicev2stubsettings/getbucket/SyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/configservicev2stubsettings/getbucket/SyncGetBucket.java index cf43da01a2..2f29848084 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/configservicev2stubsettings/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/configservicev2stubsettings/getbucket/SyncGetBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/loggingservicev2stubsettings/deletelog/SyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/loggingservicev2stubsettings/deletelog/SyncDeleteLog.java index 9dbb84f39f..83b1c51464 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/loggingservicev2stubsettings/deletelog/SyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/loggingservicev2stubsettings/deletelog/SyncDeleteLog.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/metricsservicev2stubsettings/getlogmetric/SyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/metricsservicev2stubsettings/getlogmetric/SyncGetLogMetric.java index be68fa6143..b97c333afe 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/metricsservicev2stubsettings/getlogmetric/SyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/metricsservicev2stubsettings/getlogmetric/SyncGetLogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigClient.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigClient.java index 0bb8536efc..72aa8590aa 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigClient.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigClientTest.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigClientTest.java index 7f701eff3e..b0afbc94a0 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigClientTest.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigSettings.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigSettings.java index d5a6866072..0959690382 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigSettings.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/ConfigSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingClient.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingClient.java index 57627dc9f8..642d2947a5 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingClient.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingClientTest.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingClientTest.java index 61703421ae..736ef717b5 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingClientTest.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingSettings.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingSettings.java index 6d0d9a3091..1576cad2f0 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingSettings.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/LoggingSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsClient.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsClient.java index 067ea58e90..a0306451a1 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsClient.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsClientTest.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsClientTest.java index 1722f7038b..0179c2cadb 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsClientTest.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsSettings.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsSettings.java index 867d57d2e7..6035089795 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsSettings.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MetricsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockConfigServiceV2.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockConfigServiceV2.java index cb64ac5a2a..19151b2355 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockConfigServiceV2.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockConfigServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java index 5756781100..ca94405545 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockLoggingServiceV2.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockLoggingServiceV2.java index 73bed218b1..b178291ecc 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockLoggingServiceV2.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockLoggingServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java index 8f56264bea..2d98bf7edb 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockMetricsServiceV2.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockMetricsServiceV2.java index 340c8328ea..b500421ac9 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockMetricsServiceV2.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockMetricsServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java index 35187863e3..417c754fb6 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/package-info.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/package-info.java index d2df7c5a26..4f6420980d 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/package-info.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java index 222c778834..3342b44937 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java index d65e4a8597..41dff790b6 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java index 024b57a415..3087b1086c 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java index 24f28150d7..f586326410 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,8 +27,8 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.logging.v2.CmekSettings; import com.google.logging.v2.CopyLogEntriesMetadata; import com.google.logging.v2.CopyLogEntriesRequest; @@ -404,9 +404,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listBucketsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getBucketTransportSettings = @@ -414,9 +414,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createBucketTransportSettings = @@ -424,9 +424,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateBucketTransportSettings = @@ -434,9 +434,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteBucketTransportSettings = @@ -444,9 +444,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings undeleteBucketTransportSettings = @@ -454,9 +454,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(undeleteBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listViewsTransportSettings = @@ -464,9 +464,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listViewsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getViewTransportSettings = @@ -474,9 +474,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getViewMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createViewTransportSettings = @@ -484,9 +484,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createViewMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateViewTransportSettings = @@ -494,9 +494,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateViewMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteViewTransportSettings = @@ -504,9 +504,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteViewMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listSinksTransportSettings = @@ -514,9 +514,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listSinksMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getSinkTransportSettings = @@ -524,9 +524,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getSinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("sink_name", String.valueOf(request.getSinkName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("sink_name", String.valueOf(request.getSinkName())); + return builder.build(); }) .build(); GrpcCallSettings createSinkTransportSettings = @@ -534,9 +534,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createSinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateSinkTransportSettings = @@ -544,9 +544,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateSinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("sink_name", String.valueOf(request.getSinkName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("sink_name", String.valueOf(request.getSinkName())); + return builder.build(); }) .build(); GrpcCallSettings deleteSinkTransportSettings = @@ -554,9 +554,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteSinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("sink_name", String.valueOf(request.getSinkName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("sink_name", String.valueOf(request.getSinkName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -565,9 +565,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listExclusionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getExclusionTransportSettings = @@ -575,9 +575,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getExclusionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createExclusionTransportSettings = @@ -585,9 +585,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createExclusionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateExclusionTransportSettings = @@ -595,9 +595,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateExclusionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteExclusionTransportSettings = @@ -605,9 +605,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteExclusionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getCmekSettingsTransportSettings = @@ -615,9 +615,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getCmekSettingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings updateCmekSettingsTransportSettings = @@ -625,9 +625,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateCmekSettingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getSettingsTransportSettings = @@ -635,9 +635,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getSettingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings updateSettingsTransportSettings = @@ -645,9 +645,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateSettingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings copyLogEntriesTransportSettings = diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java index 3a24803de5..aa0d7a48db 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java index 25f05280f4..e3d33f31d2 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,8 +26,8 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.logging.v2.DeleteLogRequest; import com.google.logging.v2.ListLogEntriesRequest; import com.google.logging.v2.ListLogEntriesResponse; @@ -189,9 +189,9 @@ protected GrpcLoggingServiceV2Stub( .setMethodDescriptor(deleteLogMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("log_name", String.valueOf(request.getLogName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("log_name", String.valueOf(request.getLogName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -217,9 +217,9 @@ protected GrpcLoggingServiceV2Stub( .setMethodDescriptor(listLogsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java index 1cfb536625..4057830b00 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java index 326cdebca6..19ac83ffd6 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.logging.v2.CreateLogMetricRequest; import com.google.logging.v2.DeleteLogMetricRequest; import com.google.logging.v2.GetLogMetricRequest; @@ -157,9 +157,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(listLogMetricsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getLogMetricTransportSettings = @@ -167,9 +167,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(getLogMetricMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("metric_name", String.valueOf(request.getMetricName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("metric_name", String.valueOf(request.getMetricName())); + return builder.build(); }) .build(); GrpcCallSettings createLogMetricTransportSettings = @@ -177,9 +177,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(createLogMetricMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateLogMetricTransportSettings = @@ -187,9 +187,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(updateLogMetricMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("metric_name", String.valueOf(request.getMetricName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("metric_name", String.valueOf(request.getMetricName())); + return builder.build(); }) .build(); GrpcCallSettings deleteLogMetricTransportSettings = @@ -197,9 +197,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(deleteLogMetricMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("metric_name", String.valueOf(request.getMetricName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("metric_name", String.valueOf(request.getMetricName())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java index 06d1b34d9f..0598eed810 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java index d01030e25e..94f5d4c16b 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java index 51e69fd0e6..be664c8fe2 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java index bfdf88530e..3d2e16f84e 100644 --- a/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java +++ b/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/BillingAccountLocationName.java b/test/integration/goldens/logging/src/com/google/logging/v2/BillingAccountLocationName.java index 245af075d1..46ae7bf301 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/BillingAccountLocationName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/BillingAccountLocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/BillingAccountName.java b/test/integration/goldens/logging/src/com/google/logging/v2/BillingAccountName.java index f087f95ec3..e4b122f5d9 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/BillingAccountName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/BillingAccountName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/CmekSettingsName.java b/test/integration/goldens/logging/src/com/google/logging/v2/CmekSettingsName.java index 7b206eea6d..07f8ccd3f1 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/CmekSettingsName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/CmekSettingsName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/FolderLocationName.java b/test/integration/goldens/logging/src/com/google/logging/v2/FolderLocationName.java index ebc46df919..9e43349977 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/FolderLocationName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/FolderLocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/FolderName.java b/test/integration/goldens/logging/src/com/google/logging/v2/FolderName.java index 3a1720edc4..14b45b12f9 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/FolderName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/FolderName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LocationName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LocationName.java index c82b363518..41db5c824e 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LocationName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogBucketName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogBucketName.java index d9eedf5c06..f3ab7fa011 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogBucketName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogBucketName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogExclusionName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogExclusionName.java index 7a65c64703..b87f1b4c38 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogExclusionName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogExclusionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogMetricName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogMetricName.java index 317f5de5b2..1b8efcb5b6 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogMetricName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogMetricName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogName.java index 8115f9f327..4269202edf 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogSinkName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogSinkName.java index b18a09e7ca..6ac04c85ac 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogSinkName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogSinkName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogViewName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogViewName.java index f0f15b91d7..2822f2e4ee 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogViewName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogViewName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/OrganizationLocationName.java b/test/integration/goldens/logging/src/com/google/logging/v2/OrganizationLocationName.java index a879fef135..91a70bc9ee 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/OrganizationLocationName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/OrganizationLocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/OrganizationName.java b/test/integration/goldens/logging/src/com/google/logging/v2/OrganizationName.java index abc038b47c..e4f8b5921b 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/OrganizationName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/OrganizationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/ProjectName.java b/test/integration/goldens/logging/src/com/google/logging/v2/ProjectName.java index 3ff6c49b9e..b2396890c5 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/ProjectName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/SettingsName.java b/test/integration/goldens/logging/src/com/google/logging/v2/SettingsName.java index dbf5f07ea1..ff30fb7876 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/SettingsName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/SettingsName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/create/SyncCreateSetCredentialsProvider.java index 47792ee22d..cc5a391c07 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/create/SyncCreateSetEndpoint.java index 19398974d1..eba79ac393 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/AsyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/AsyncCreateTopic.java index 74621080e4..158a295563 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/AsyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/AsyncCreateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopic.java index a4b5de14e9..2e8a1a0c9c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopicString.java index c5d7bf9bc2..c50fd1606a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopicString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopicTopicname.java index 3fe1d8d1ce..9ece0f6f5f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/createtopic/SyncCreateTopicTopicname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/AsyncDeleteTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/AsyncDeleteTopic.java index 7333b31068..7fe68ab1b2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/AsyncDeleteTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/AsyncDeleteTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopic.java index 592d02f1e2..e45a50da55 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopicString.java index e38c29ba6c..cfc0aa9fe9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopicString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopicTopicname.java index d7e2b5ecfb..953ee9f227 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/deletetopic/SyncDeleteTopicTopicname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/detachsubscription/AsyncDetachSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/detachsubscription/AsyncDetachSubscription.java index 6f476688b0..77940fdc1c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/detachsubscription/AsyncDetachSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/detachsubscription/AsyncDetachSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/detachsubscription/SyncDetachSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/detachsubscription/SyncDetachSubscription.java index d246600768..1bcd280c94 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/detachsubscription/SyncDetachSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/detachsubscription/SyncDetachSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/getiampolicy/AsyncGetIamPolicy.java index 7811b64d9b..2064402310 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/getiampolicy/AsyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/getiampolicy/SyncGetIamPolicy.java index 22b082ae1d..8b5af87c22 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/getiampolicy/SyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/AsyncGetTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/AsyncGetTopic.java index 6186bbc7f2..bcb3296062 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/AsyncGetTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/AsyncGetTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopic.java index dae908367f..c0d7418232 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopicString.java index 880d718804..8dd1a21cfb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopicString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopicTopicname.java index f1b638ad0c..5ed9f7db53 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/gettopic/SyncGetTopicTopicname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/AsyncListTopics.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/AsyncListTopics.java index bb5c209e76..65b700ed7b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/AsyncListTopics.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/AsyncListTopics.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/AsyncListTopicsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/AsyncListTopicsPaged.java index bc408435bb..95200d116a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/AsyncListTopicsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/AsyncListTopicsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopics.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopics.java index ef06991673..989ed455b9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopics.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopics.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopicsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopicsProjectname.java index 81bc425073..4a7d08f7e2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopicsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopicsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopicsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopicsString.java index 99bcc8bf29..19eba09f2c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopicsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopics/SyncListTopicsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/AsyncListTopicSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/AsyncListTopicSnapshots.java index d443239958..2d87cea72d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/AsyncListTopicSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/AsyncListTopicSnapshots.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java index 70abfdafec..585220da89 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshots.java index c09b9310f2..e88ea40aec 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshots.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshotsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshotsString.java index 6b1af0211a..69f08f55d9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshotsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshotsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java index b049daf378..26018e6be1 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/AsyncListTopicSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/AsyncListTopicSubscriptions.java index b4e989dd9d..fd97fa6e0c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/AsyncListTopicSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/AsyncListTopicSubscriptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java index f58ba30e98..a846f6ea33 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptions.java index acbe537c50..22991df2d3 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptionsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptionsString.java index 51cc955ab3..18561ebc0c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptionsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptionsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java index c9ca4db89c..ed49bf73d8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/AsyncPublish.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/AsyncPublish.java index 5923a643cc..c4740df339 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/AsyncPublish.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/AsyncPublish.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublish.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublish.java index a38c98b0be..b8560692c6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublish.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublish.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublishStringListpubsubmessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublishStringListpubsubmessage.java index af9f822ea4..c639c96e77 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublishStringListpubsubmessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublishStringListpubsubmessage.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublishTopicnameListpubsubmessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublishTopicnameListpubsubmessage.java index 8f4cac5379..75b770074c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublishTopicnameListpubsubmessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/publish/SyncPublishTopicnameListpubsubmessage.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/setiampolicy/AsyncSetIamPolicy.java index 080f37e9fd..6371dc87d0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/setiampolicy/AsyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/setiampolicy/SyncSetIamPolicy.java index 52473bb01b..d2d4edf40c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/setiampolicy/SyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/testiampermissions/AsyncTestIamPermissions.java index c2718a9def..048441b261 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/testiampermissions/AsyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/testiampermissions/SyncTestIamPermissions.java index ab708587bc..4f021b50f0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/testiampermissions/SyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/updatetopic/AsyncUpdateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/updatetopic/AsyncUpdateTopic.java index b9aa104687..aa243c8c17 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/updatetopic/AsyncUpdateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/updatetopic/AsyncUpdateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/updatetopic/SyncUpdateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/updatetopic/SyncUpdateTopic.java index 83ca0b9f16..038865903f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/updatetopic/SyncUpdateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/publisher/updatetopic/SyncUpdateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/AsyncCommitSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/AsyncCommitSchema.java index ff1d73b715..3f184d96f6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/AsyncCommitSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/AsyncCommitSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchema.java index 5f0d27453a..9b23bbd8d5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchemaSchemanameSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchemaSchemanameSchema.java index 11afbdcfa1..c2d565e41b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchemaSchemanameSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchemaSchemanameSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchemaStringSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchemaStringSchema.java index c983c04cb5..65677e0fe8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchemaStringSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/commitschema/SyncCommitSchemaStringSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java index f66d3eb280..dbd6b3a7d6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java index 6fef477696..184887f49a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java index 8177b54efe..85ea009338 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java index 6318c403b5..19a4de04ac 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java index 63d1ec61c0..be5e8913b0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java index e1e42c77df..42abd14c09 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java index e278448b05..8505905bbd 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java index b7e421a8a8..02cebbf329 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java index af400a0849..ef2ce670db 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java index 52af2a9a27..a5e04f3a43 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/AsyncDeleteSchemaRevision.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/AsyncDeleteSchemaRevision.java index b84cc42ec5..6be3964ba9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/AsyncDeleteSchemaRevision.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/AsyncDeleteSchemaRevision.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevision.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevision.java index e05e4ca701..a76255355b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevision.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevision.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevisionSchemanameString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevisionSchemanameString.java index 52a44069d7..ab7a3340d9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevisionSchemanameString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevisionSchemanameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevisionStringString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevisionStringString.java index 12e261d87f..33381dba23 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevisionStringString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschemarevision/SyncDeleteSchemaRevisionStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java index 17b5095bd3..d66d3b5292 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java index 9490015035..c2f5e91cfe 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java index 6ffacc689a..8d30aae8cf 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java index 5daf4351de..579e0b2d4c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java index c0a7730113..611a988035 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java index bc666dbc1c..1ffe6c7b9a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/AsyncListSchemaRevisions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/AsyncListSchemaRevisions.java index a8b0fe79fa..67c5106693 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/AsyncListSchemaRevisions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/AsyncListSchemaRevisions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/AsyncListSchemaRevisionsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/AsyncListSchemaRevisionsPaged.java index 428b6bf9aa..e2bf37a6dd 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/AsyncListSchemaRevisionsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/AsyncListSchemaRevisionsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisions.java index eb4b3887e2..d6e6792495 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisionsSchemaname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisionsSchemaname.java index ca93da7728..116c94a8d5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisionsSchemaname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisionsSchemaname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisionsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisionsString.java index 8b2b94ea14..c3611ec50f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisionsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemarevisions/SyncListSchemaRevisionsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java index b32fd480b5..930d0b5f2b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java index 6076b5e966..3f40addbe5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java index 705545481f..b759244bec 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java index d8508321ea..3fabd3efb9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java index 51ece993eb..fa830315a4 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/AsyncRollbackSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/AsyncRollbackSchema.java index 5f0b801a2e..53c9bcf7e4 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/AsyncRollbackSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/AsyncRollbackSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchema.java index f0619a63bb..865a425c2d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchemaSchemanameString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchemaSchemanameString.java index 581cef673d..e9057776dd 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchemaSchemanameString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchemaSchemanameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchemaStringString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchemaStringString.java index 0e83f7e3a3..6fd80f760c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchemaStringString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/rollbackschema/SyncRollbackSchemaStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java index a79c5ae422..9d161e4d5f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java index 79a925be30..aee43a627e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java index f90e406a06..f643ef1c2d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java index 2cc276ac72..fba9a506f1 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java index 9e14354d7b..c67e46ea2e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java index 639b29346b..51717f3868 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java index ff299bad22..75a6dd4bcc 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java index 4855420298..893f803747 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java index 02e4cd0c20..a0736baaa7 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java index 0b99145866..dec220cd0d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservicesettings/createschema/SyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservicesettings/createschema/SyncCreateSchema.java index b19fdbf7fb..a1b94d0d65 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservicesettings/createschema/SyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservicesettings/createschema/SyncCreateSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/publisherstubsettings/createtopic/SyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/publisherstubsettings/createtopic/SyncCreateTopic.java index df62a5021b..db8765f7b8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/publisherstubsettings/createtopic/SyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/publisherstubsettings/createtopic/SyncCreateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/schemaservicestubsettings/createschema/SyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/schemaservicestubsettings/createschema/SyncCreateSchema.java index 5f9bbe406f..ad8762e2ee 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/schemaservicestubsettings/createschema/SyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/schemaservicestubsettings/createschema/SyncCreateSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/subscriberstubsettings/createsubscription/SyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/subscriberstubsettings/createsubscription/SyncCreateSubscription.java index ea4083396e..32686be6fe 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/subscriberstubsettings/createsubscription/SyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/subscriberstubsettings/createsubscription/SyncCreateSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/AsyncAcknowledge.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/AsyncAcknowledge.java index b61fc7b2c6..afc2185027 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/AsyncAcknowledge.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/AsyncAcknowledge.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledge.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledge.java index 5a9ffe0368..4cf4814539 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledge.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledge.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledgeStringListstring.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledgeStringListstring.java index 71ca1c00ca..905fd383e0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledgeStringListstring.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledgeStringListstring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java index 23eb8043f2..d7ead44b32 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/create/SyncCreateSetCredentialsProvider.java index c97f801f0b..f9173345ae 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/create/SyncCreateSetEndpoint.java index f8b340ee5f..2b39c0849f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/AsyncCreateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/AsyncCreateSnapshot.java index 268d565f18..b822689fd0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/AsyncCreateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/AsyncCreateSnapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshot.java index f1025baa61..d87a3296c8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotSnapshotnameString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotSnapshotnameString.java index 7fe500754d..01b31674df 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotSnapshotnameString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotSnapshotnameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java index cae1578959..ed1a12c017 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotStringString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotStringString.java index fdf6b8daec..99f1417c7e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotStringString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java index 15bd89cb28..adc1d5d5ab 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/AsyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/AsyncCreateSubscription.java index a237b2f3b7..21ebedb461 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/AsyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/AsyncCreateSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscription.java index 0cb2771d0f..1cf952c270 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java index 92fa5bfd3e..4b7ed755fa 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java index 141563b0a6..96611ef9f8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java index bfd8ba0ad2..64206efc3b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java index 7028163a76..54ab59547a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/AsyncDeleteSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/AsyncDeleteSnapshot.java index c85d0f4b06..6705c11404 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/AsyncDeleteSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/AsyncDeleteSnapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshot.java index a807d55be0..93306546bf 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshotSnapshotname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshotSnapshotname.java index 5a53e2cf88..9304b9f93b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshotSnapshotname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshotSnapshotname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshotString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshotString.java index a995d22f73..995f5e34d5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshotString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesnapshot/SyncDeleteSnapshotString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/AsyncDeleteSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/AsyncDeleteSubscription.java index 60c66767e6..6ea8a096ed 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/AsyncDeleteSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/AsyncDeleteSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscription.java index 5eba50c9e9..0e4e6a5efe 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscriptionString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscriptionString.java index 95ba167c91..8f3d5cad5d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscriptionString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscriptionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java index b9af13c79c..ad4a521ac4 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getiampolicy/AsyncGetIamPolicy.java index 454c352c44..3bfb9e0374 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getiampolicy/AsyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getiampolicy/SyncGetIamPolicy.java index 2a0442533e..9f76fce6d0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getiampolicy/SyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/AsyncGetSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/AsyncGetSnapshot.java index 3683548922..6c4fe7f9ec 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/AsyncGetSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/AsyncGetSnapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshot.java index c3e3815562..a4cbf6140f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshotSnapshotname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshotSnapshotname.java index c31158a3ab..6c6dec7a1d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshotSnapshotname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshotSnapshotname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshotString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshotString.java index 66ef4b7d19..2f15ca9c2d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshotString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsnapshot/SyncGetSnapshotString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/AsyncGetSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/AsyncGetSubscription.java index a6ff85a1fe..1a92c97bbe 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/AsyncGetSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/AsyncGetSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscription.java index a49256c431..ddba2c0d06 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscriptionString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscriptionString.java index 311862d3aa..80ec82e0df 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscriptionString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscriptionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscriptionSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscriptionSubscriptionname.java index 7cb6dc3a8d..017b429433 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscriptionSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/getsubscription/SyncGetSubscriptionSubscriptionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/AsyncListSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/AsyncListSnapshots.java index 945a3c564b..5c44fa6f71 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/AsyncListSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/AsyncListSnapshots.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/AsyncListSnapshotsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/AsyncListSnapshotsPaged.java index 6baa3920b1..edf445202d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/AsyncListSnapshotsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/AsyncListSnapshotsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshots.java index 56a4755df7..c9f6e1531e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshots.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshotsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshotsProjectname.java index ae798c14e5..e248dbe3ef 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshotsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshotsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshotsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshotsString.java index 25651fb030..96b13421ac 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshotsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsnapshots/SyncListSnapshotsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/AsyncListSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/AsyncListSubscriptions.java index a6bca38708..aeece2e7b9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/AsyncListSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/AsyncListSubscriptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/AsyncListSubscriptionsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/AsyncListSubscriptionsPaged.java index c07bfa442a..c656c5be86 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/AsyncListSubscriptionsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/AsyncListSubscriptionsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptions.java index efa610bb8c..41de90e79d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptionsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptionsProjectname.java index bce6aabc30..00c6cdbff7 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptionsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptionsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptionsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptionsString.java index d11b3fefc3..313d6cbd13 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptionsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/listsubscriptions/SyncListSubscriptionsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/AsyncModifyAckDeadline.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/AsyncModifyAckDeadline.java index 2c80fe321a..1147d38004 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/AsyncModifyAckDeadline.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/AsyncModifyAckDeadline.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadline.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadline.java index b3462d25da..76f6b11aaf 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadline.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadline.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java index 50afc17d80..7f005da323 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java index 9508d6080c..b7fc72f8de 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/AsyncModifyPushConfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/AsyncModifyPushConfig.java index aa51e8dc59..3f31f55e28 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/AsyncModifyPushConfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/AsyncModifyPushConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfig.java index a6fbb2a8de..4f7ad078f2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfigStringPushconfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfigStringPushconfig.java index 71642d3a42..3bf83659de 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfigStringPushconfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfigStringPushconfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java index f65ac93e46..149e248bc1 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/AsyncPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/AsyncPull.java index 4ab60d852d..1541a2c09e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/AsyncPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/AsyncPull.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPull.java index 8bed94fe25..5fcefcd7be 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPull.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullStringBooleanInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullStringBooleanInt.java index ae23e170c9..a3e0434d40 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullStringBooleanInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullStringBooleanInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullStringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullStringInt.java index 19bb1784a2..3cab4570ad 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullStringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullStringInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullSubscriptionnameBooleanInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullSubscriptionnameBooleanInt.java index 9ade351b72..31074f1659 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullSubscriptionnameBooleanInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullSubscriptionnameBooleanInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullSubscriptionnameInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullSubscriptionnameInt.java index 61a62b6a2f..70de9d3209 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullSubscriptionnameInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/pull/SyncPullSubscriptionnameInt.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/seek/AsyncSeek.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/seek/AsyncSeek.java index c3641d8473..98195f15a8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/seek/AsyncSeek.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/seek/AsyncSeek.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/seek/SyncSeek.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/seek/SyncSeek.java index 6ff5634e7f..a3676ec147 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/seek/SyncSeek.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/seek/SyncSeek.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/setiampolicy/AsyncSetIamPolicy.java index 8aceb040f8..b5af758bae 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/setiampolicy/AsyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/setiampolicy/SyncSetIamPolicy.java index d1e7c7d3e1..1da83a0a3f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/setiampolicy/SyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/streamingpull/AsyncStreamingPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/streamingpull/AsyncStreamingPull.java index eac398483f..f7903e7487 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/streamingpull/AsyncStreamingPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/streamingpull/AsyncStreamingPull.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/testiampermissions/AsyncTestIamPermissions.java index 2060857ad6..8603cc080a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/testiampermissions/AsyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/testiampermissions/SyncTestIamPermissions.java index e25ec0d84b..ded1113f00 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/testiampermissions/SyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesnapshot/AsyncUpdateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesnapshot/AsyncUpdateSnapshot.java index 16fadb5d46..40a9973bd9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesnapshot/AsyncUpdateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesnapshot/AsyncUpdateSnapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesnapshot/SyncUpdateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesnapshot/SyncUpdateSnapshot.java index fce6a9df70..d7b9d5e195 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesnapshot/SyncUpdateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesnapshot/SyncUpdateSnapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesubscription/AsyncUpdateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesubscription/AsyncUpdateSubscription.java index 1e3fbd18f2..302cc8298f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesubscription/AsyncUpdateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesubscription/AsyncUpdateSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesubscription/SyncUpdateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesubscription/SyncUpdateSubscription.java index 517495e7a4..607fa6b924 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesubscription/SyncUpdateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriber/updatesubscription/SyncUpdateSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminsettings/createsubscription/SyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminsettings/createsubscription/SyncCreateSubscription.java index 4b8fc85b52..0c3b321aae 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminsettings/createsubscription/SyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminsettings/createsubscription/SyncCreateSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminsettings/createtopic/SyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminsettings/createtopic/SyncCreateTopic.java index e716aca1df..22438e460d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminsettings/createtopic/SyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminsettings/createtopic/SyncCreateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockIAMPolicy.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockIAMPolicy.java index 85c3e07a01..c17e00ad22 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockIAMPolicy.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockIAMPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java index 089b0b380a..e18c2a7bcf 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockPublisher.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockPublisher.java index 31d2b2b095..2a26cd59aa 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockPublisher.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockPublisher.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockPublisherImpl.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockPublisherImpl.java index 53f88cfe65..47cf6f416f 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockPublisherImpl.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockPublisherImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSchemaService.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSchemaService.java index 4ebffafed7..29559fa86e 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSchemaService.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSchemaService.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java index 7f0464d474..8510e1b77c 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSubscriber.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSubscriber.java index 2615733f7d..13b54dd7ad 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSubscriber.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSubscriber.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSubscriberImpl.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSubscriberImpl.java index 9747d2ca04..389fc6561e 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSubscriberImpl.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/MockSubscriberImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceClient.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceClient.java index 3e278742ba..fd82725ee7 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceClient.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java index 03edc45fff..15129a8cd4 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceSettings.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceSettings.java index dfda5782cc..4291e8b127 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceSettings.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SchemaServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java index 69085491f3..87b846e1c8 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java index 8b3ee22628..204fd662cb 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java index c81c993d78..076f00edf9 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminClient.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminClient.java index 721db383c8..bb74a760d4 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminClient.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminClientTest.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminClientTest.java index 60d0956b94..34e8237b10 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminClientTest.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminSettings.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminSettings.java index a0940a9ded..00a84ec2f7 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminSettings.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/TopicAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/package-info.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/package-info.java index 097c53df35..5e73e3a64e 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/package-info.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java index 140ba04741..60af801642 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java index bc855e57e9..6a9446b178 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,8 +25,8 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -242,9 +242,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(createTopicMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings updateTopicTransportSettings = @@ -252,9 +252,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(updateTopicMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic.name", String.valueOf(request.getTopic().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic.name", String.valueOf(request.getTopic().getName())); + return builder.build(); }) .build(); GrpcCallSettings publishTransportSettings = @@ -262,9 +262,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(publishMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings getTopicTransportSettings = @@ -272,9 +272,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(getTopicMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings listTopicsTransportSettings = @@ -282,9 +282,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(listTopicsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("project", String.valueOf(request.getProject())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + return builder.build(); }) .build(); GrpcCallSettings @@ -294,9 +294,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(listTopicSubscriptionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings @@ -305,9 +305,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(listTopicSnapshotsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings deleteTopicTransportSettings = @@ -315,9 +315,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(deleteTopicMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("topic", String.valueOf(request.getTopic())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("topic", String.valueOf(request.getTopic())); + return builder.build(); }) .build(); GrpcCallSettings @@ -326,9 +326,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(detachSubscriptionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); GrpcCallSettings setIamPolicyTransportSettings = @@ -336,9 +336,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(setIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings getIamPolicyTransportSettings = @@ -346,9 +346,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(getIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings @@ -357,9 +357,9 @@ protected GrpcPublisherStub( .setMethodDescriptor(testIamPermissionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java index 25bb845003..b7ad8cab40 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java index ebb540f16a..35929c01f6 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,8 +24,8 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -253,9 +253,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(createSchemaMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getSchemaTransportSettings = @@ -263,9 +263,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(getSchemaMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listSchemasTransportSettings = @@ -273,9 +273,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(listSchemasMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings @@ -284,9 +284,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(listSchemaRevisionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings commitSchemaTransportSettings = @@ -294,9 +294,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(commitSchemaMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings rollbackSchemaTransportSettings = @@ -304,9 +304,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(rollbackSchemaMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteSchemaRevisionTransportSettings = @@ -314,9 +314,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(deleteSchemaRevisionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteSchemaTransportSettings = @@ -324,9 +324,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(deleteSchemaMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -335,9 +335,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(validateSchemaMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings @@ -346,9 +346,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(validateMessageMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings setIamPolicyTransportSettings = @@ -356,9 +356,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(setIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings getIamPolicyTransportSettings = @@ -366,9 +366,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(getIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings @@ -377,9 +377,9 @@ protected GrpcSchemaServiceStub( .setMethodDescriptor(testIamPermissionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java index 555d231b3b..27f99f671a 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java index d29c044249..ba79536cb1 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,8 +25,8 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -326,9 +326,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(createSubscriptionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getSubscriptionTransportSettings = @@ -336,9 +336,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(getSubscriptionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); GrpcCallSettings updateSubscriptionTransportSettings = @@ -346,10 +346,10 @@ protected GrpcSubscriberStub( .setMethodDescriptor(updateSubscriptionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put( + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( "subscription.name", String.valueOf(request.getSubscription().getName())); - return params.build(); + return builder.build(); }) .build(); GrpcCallSettings @@ -358,9 +358,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(listSubscriptionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("project", String.valueOf(request.getProject())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + return builder.build(); }) .build(); GrpcCallSettings deleteSubscriptionTransportSettings = @@ -368,9 +368,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(deleteSubscriptionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); GrpcCallSettings modifyAckDeadlineTransportSettings = @@ -378,9 +378,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(modifyAckDeadlineMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); GrpcCallSettings acknowledgeTransportSettings = @@ -388,9 +388,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(acknowledgeMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); GrpcCallSettings pullTransportSettings = @@ -398,9 +398,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(pullMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); GrpcCallSettings streamingPullTransportSettings = @@ -412,9 +412,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(modifyPushConfigMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); GrpcCallSettings getSnapshotTransportSettings = @@ -422,9 +422,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(getSnapshotMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("snapshot", String.valueOf(request.getSnapshot())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("snapshot", String.valueOf(request.getSnapshot())); + return builder.build(); }) .build(); GrpcCallSettings listSnapshotsTransportSettings = @@ -432,9 +432,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(listSnapshotsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("project", String.valueOf(request.getProject())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + return builder.build(); }) .build(); GrpcCallSettings createSnapshotTransportSettings = @@ -442,9 +442,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(createSnapshotMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings updateSnapshotTransportSettings = @@ -452,9 +452,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(updateSnapshotMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("snapshot.name", String.valueOf(request.getSnapshot().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("snapshot.name", String.valueOf(request.getSnapshot().getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteSnapshotTransportSettings = @@ -462,9 +462,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(deleteSnapshotMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("snapshot", String.valueOf(request.getSnapshot())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("snapshot", String.valueOf(request.getSnapshot())); + return builder.build(); }) .build(); GrpcCallSettings seekTransportSettings = @@ -472,9 +472,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(seekMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("subscription", String.valueOf(request.getSubscription())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("subscription", String.valueOf(request.getSubscription())); + return builder.build(); }) .build(); GrpcCallSettings setIamPolicyTransportSettings = @@ -482,9 +482,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(setIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings getIamPolicyTransportSettings = @@ -492,9 +492,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(getIamPolicyMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); GrpcCallSettings @@ -503,9 +503,9 @@ protected GrpcSubscriberStub( .setMethodDescriptor(testIamPermissionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/PublisherStub.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/PublisherStub.java index c26fe479c0..5b8ed6112a 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/PublisherStub.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/PublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java index 324a0a74f5..6253d923dc 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java index 01446db220..ab52003751 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java index a773d77140..4c3b9d6b37 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SubscriberStub.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SubscriberStub.java index 8eeab5261a..f04f4acd5d 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SubscriberStub.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java index 4c427e5030..2982db4421 100644 --- a/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java +++ b/test/integration/goldens/pubsub/src/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/ProjectName.java b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/ProjectName.java index 9526c02ab6..2db62c0e78 100644 --- a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/ProjectName.java +++ b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SchemaName.java b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SchemaName.java index c4b5935cdc..1b2c9a9087 100644 --- a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SchemaName.java +++ b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SchemaName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SnapshotName.java b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SnapshotName.java index d415eefb45..2aba349b38 100644 --- a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SnapshotName.java +++ b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SnapshotName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SubscriptionName.java b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SubscriptionName.java index 6433bd9f9a..8ed44f6143 100644 --- a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SubscriptionName.java +++ b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/SubscriptionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/TopicName.java b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/TopicName.java index 4d16d44af4..8af73d814c 100644 --- a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/TopicName.java +++ b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/TopicName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java index 97a5a48105..fa82213f1a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider1.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider1.java index 9d906a88e4..ac13c771ca 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider1.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider1.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java index 91b14d3867..ad71ef35f0 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java index 6e439e0dce..8d25614699 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java index 6399d91963..cd96708015 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java index c5ddf37679..e59e07e129 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java index 11313ca84b..f243357b16 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java index 9ee0ca14d4..00b79dd83a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java index de5db2b35a..0589920b25 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java index 3ec5e853bf..df71875131 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java index e1966e46ec..a7a4b75a57 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java index 88e9c960dd..3e0b93a8d5 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java index 676a72f40e..f06994b43c 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java index a708fea978..8dde2ed978 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java index 82df97b5f0..b0c38c9f04 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java index f67d16d01b..3fef0913df 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java index 840fe4f0a4..9dba76254b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java index 9d5dad8db3..24a3cea364 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java index 03091e3767..49e0b8bf71 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java index 9fd4f0823a..36704e4ce2 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java index 725f87aa07..2dd7049ee1 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java index 42404416ba..52b96060cf 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java index 50e7e345fe..05d16e393b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java index 51a60582bd..613d7d8223 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java index 06236cdee0..8262137e84 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java index 884d4e2544..8907ff613a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java index 8b6d217ea1..adc5862ba1 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java index 8e1750fb99..89e52d3cff 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java index aba48b769d..b26ac57673 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java index 01ce1d2431..4be717657d 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java index 3f62233680..2d6654778f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java index d42251d1ef..b609d65788 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java index f263e715d8..4d78057ce7 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java index ddea6e6e40..310e4c5539 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java index 20c7f67e8f..a01b8a72aa 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java index d9bfef025a..b141b3e295 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java index f1273b5344..3b5d52279b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java index 9298fb26d5..975b11f492 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java index 1e7395077b..ab018f65d3 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java index 0cd397acca..fa1286a5ab 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java index d9b3ae2e1b..e6d0bb1a9f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java index 5b97aea2e8..76adddf0ef 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java index b0291cf630..f2ba5bfd9c 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java index c9f19c0ff2..006650f118 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java index bbfd0e043a..cf09fbcc44 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java index 342b132f9d..5d120682ba 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java index 8bb1c193fe..dc834831b7 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java index 65d41c35ab..a4077b4fab 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java index 64e797aed0..1b48fd4583 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java index 9db9a43a4f..29f22214d2 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java index 64108a66fc..1baa73c65b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java index 6026622393..9f564213a9 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java index 2081697271..2ddd517282 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredissettings/getinstance/SyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredissettings/getinstance/SyncGetInstance.java index e8fb16fa8a..01d99fd7ed 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredissettings/getinstance/SyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredissettings/getinstance/SyncGetInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/stub/cloudredisstubsettings/getinstance/SyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/stub/cloudredisstubsettings/getinstance/SyncGetInstance.java index 364e543a79..78b2fa196f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/stub/cloudredisstubsettings/getinstance/SyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/stub/cloudredisstubsettings/getinstance/SyncGetInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClient.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClient.java index 250b320474..fb9a41852b 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClient.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClientHttpJsonTest.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClientHttpJsonTest.java index 81ac53334a..630440aa5c 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClientHttpJsonTest.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClientTest.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClientTest.java index 75d101033b..f13aa50954 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClientTest.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisSettings.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisSettings.java index f311a097d8..e431cc97bb 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisSettings.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/CloudRedisSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/InstanceName.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/InstanceName.java index c5b99af8e8..cc7cbdd8ef 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/InstanceName.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/InstanceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/LocationName.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/LocationName.java index 1643161c98..cf80caf994 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/LocationName.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/LocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/MockCloudRedis.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/MockCloudRedis.java index 17eb95477c..37b007ef0d 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/MockCloudRedis.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/MockCloudRedis.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/MockCloudRedisImpl.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/MockCloudRedisImpl.java index f3e4266f08..292ded4229 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/MockCloudRedisImpl.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/MockCloudRedisImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/package-info.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/package-info.java index 18a35816ee..35a4ae142d 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/package-info.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/CloudRedisStub.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/CloudRedisStub.java index 95ca277cf7..810864c4ee 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/CloudRedisStub.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/CloudRedisStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java index b38c4432e8..339bf18459 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisCallableFactory.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisCallableFactory.java index 7a58d2425b..c5748ee31c 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisCallableFactory.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java index dbb63761c6..fb6ae5f82d 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.redis.v1beta1.CreateInstanceRequest; import com.google.cloud.redis.v1beta1.DeleteInstanceRequest; @@ -40,7 +41,6 @@ import com.google.cloud.redis.v1beta1.RescheduleMaintenanceRequest; import com.google.cloud.redis.v1beta1.UpdateInstanceRequest; import com.google.cloud.redis.v1beta1.UpgradeInstanceRequest; -import com.google.common.collect.ImmutableMap; import com.google.longrunning.Operation; import com.google.longrunning.stub.GrpcOperationsStub; import com.google.protobuf.Any; @@ -249,9 +249,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(listInstancesMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getInstanceTransportSettings = @@ -259,9 +259,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(getInstanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -270,9 +270,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(getInstanceAuthStringMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createInstanceTransportSettings = @@ -280,9 +280,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(createInstanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateInstanceTransportSettings = @@ -290,9 +290,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(updateInstanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("instance.name", String.valueOf(request.getInstance().getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("instance.name", String.valueOf(request.getInstance().getName())); + return builder.build(); }) .build(); GrpcCallSettings upgradeInstanceTransportSettings = @@ -300,9 +300,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(upgradeInstanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings importInstanceTransportSettings = @@ -310,9 +310,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(importInstanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings exportInstanceTransportSettings = @@ -320,9 +320,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(exportInstanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings failoverInstanceTransportSettings = @@ -330,9 +330,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(failoverInstanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteInstanceTransportSettings = @@ -340,9 +340,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(deleteInstanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -351,9 +351,9 @@ protected GrpcCloudRedisStub( .setMethodDescriptor(rescheduleMaintenanceMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisCallableFactory.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisCallableFactory.java index 262263444e..2991b71def 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisCallableFactory.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisStub.java b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisStub.java index cf4e271cdc..c000dd4523 100644 --- a/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisStub.java +++ b/test/integration/goldens/redis/src/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.redis.v1beta1.CreateInstanceRequest; import com.google.cloud.redis.v1beta1.DeleteInstanceRequest; @@ -609,58 +610,124 @@ protected HttpJsonCloudRedisStub( HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listInstancesMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings getInstanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(getInstanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings getInstanceAuthStringTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(getInstanceAuthStringMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings createInstanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(createInstanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) .build(); HttpJsonCallSettings updateInstanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(updateInstanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("instance.name", String.valueOf(request.getInstance().getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings upgradeInstanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(upgradeInstanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings importInstanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(importInstanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings exportInstanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(exportInstanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings failoverInstanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(failoverInstanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings deleteInstanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(deleteInstanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); HttpJsonCallSettings rescheduleMaintenanceTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(rescheduleMaintenanceMethodDescriptor) .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) .build(); this.listInstancesCallable = diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/AsyncCancelResumableWrite.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/AsyncCancelResumableWrite.java index 0b15a1ee59..429cfc794b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/AsyncCancelResumableWrite.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/AsyncCancelResumableWrite.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/SyncCancelResumableWrite.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/SyncCancelResumableWrite.java index 271e7c903d..a90468e051 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/SyncCancelResumableWrite.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/SyncCancelResumableWrite.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/SyncCancelResumableWriteString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/SyncCancelResumableWriteString.java index a21e680404..fe822519f7 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/SyncCancelResumableWriteString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/cancelresumablewrite/SyncCancelResumableWriteString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java index 385727b8bb..d1ad7000f2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java index 7f836a63e5..3f01d1a23e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java index c17ea693e1..0c20ac55a2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java index b43c1b1baa..456a4079ad 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java index 4562a12eef..ec62f26830 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java index 9470224c0c..f305628ced 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java index 38fba8446b..dc973af2dc 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java index 7c6327688c..153cf0d8fe 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java index c3937480a9..9ef862af34 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java index dbe0c136ce..48fe222ed9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java index fc3577f1aa..f612a3002c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java index 9223e5e485..44c8a5efb8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java index 6155ee24d4..9cdab89c35 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java index f48aec3a56..e9c869571e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java index bacc5f080b..e625a41f68 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java index 8958897191..d27c5d7efa 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java index fe2aac849b..90eccb52d5 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java index 5ec50f3430..3e93ba3c15 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java index 058b3ba4e2..c61c5cbe89 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java index 5f2ad3506c..2e5ae04d3b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java index 6bfe50b4a3..6dca55e083 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java index 522678bbd8..de183a87c8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java index 8268243bb2..ac8f48fd24 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java index 0c80aa1abd..dcbc49bbf4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java index 13375c27c8..fd68351238 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java index eb16ccf746..4ef5a19fce 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java index 2066a7f99b..053902f7fa 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java index fdae07c684..841f388640 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java index 79e351ff8b..982645ff19 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java index f8cda9b5bc..5c0b021e6b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java index 17f92a5fb8..08cc582e51 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java index 96ece21926..4fda1861c3 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java index 48b5489bcf..284b7ff8b1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java index c5bbf52fdf..dd07573874 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java index 4380dde62d..452916523b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java index b405ab5bf8..56b100a343 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java index 4b8cc5cc61..d49dbb9f06 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java index dd86ac8578..50c77701ab 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java index 1f9a3af72e..e80e8d51b0 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java index 2d474fe1f7..f8e33fe85b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java index 3ad40f83e0..ac68bbb756 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java index 8afb23d68d..377fcf6d45 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java index 7957b007f7..8d541e34d4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java index abf33118f1..74d1004394 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java index e435ab17d9..385265f566 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java index cf7daa57e1..54b20b39a2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java index c02279bd04..08a2f369e6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java index c986a36bd9..7b8be54147 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java index 9b79eaf007..6e8508073c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java index 49f069b474..36a1019971 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java index 055976559c..9ca048f936 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java index d1b7872f9f..2c1f5ccad1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java index 5eb8fcae19..e47e08be1e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java index 2199720de3..62a2e1bd4b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java index 9c73fbfd80..23b3c533a8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java index 366ed9739e..fa27e8233f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java index 8883c239d4..c8ea9aea6e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java index 4424164ceb..c012188d46 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java index 76601ef838..31c8aa60ee 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java index e9c9424c1a..2f302f4364 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java index 630f6bc297..2dd6fb4285 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java index 034489b04a..48b987cc1a 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java index 944d2aaed5..4b906b7ac7 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java index 10a1ef1b10..7c582ea1db 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java index 4a4791ca22..52576f7b3c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java index cc45b359b6..4760e2ff73 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java index 24f3399182..892a726f67 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java index 9f14a283b1..889dd391ee 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java index 0ccd2eb0d3..67c6bbdfc4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java index d7ee513685..71be81b67d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java index 34898b1a5c..416c521b17 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java index f07abf4e60..f45d018630 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java index 0e6169149b..d608f8d074 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java index 7bfe72ef9d..b0b9b80170 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java index ffeab2e800..2736a1c356 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java index 07d0103f29..e1e6dcc4c7 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java index 30ed7ff4b8..f65af21394 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java index 4f7f330926..84aeffb457 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java index 975b421c1f..5fab95998c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java index 9a368ae767..dd751408c9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java index f6dbb5c4e9..d816988a1d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java index 22becbd241..426a231bd9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java index edce608da6..ef4b1e8b15 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java index da3a462817..2101f0a149 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java index 101e330f7e..b951877ecd 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java index 465d7f407d..8d594feaf2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java index b41c5bb87b..05c2e038dc 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java index 2b49425f7b..8f7facc7b6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java index b8c315d928..1ab380af37 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java index 39e5e74725..7b1a22c465 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java index 1310da5f70..07488f1558 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java index 03b9a40724..1e483c3bc6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java index c8eb1c9640..fc314686a4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java index dae7ffbb49..344dcf5eb2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index fe6593f2b1..071bf1abde 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java index 607b2ed2a4..b53b9bf633 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java index a1eda331b7..f5fb354c1e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java index 08cc51c7fc..136bb37f16 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java index def1e336a3..6eea935ee9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java index 73e958779d..ac99f8b00b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java index bc8a2427ae..3169109c1d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java index 188f04a358..60ce7675f1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java index e198e8b5b1..e1b800d144 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java index 906fb28a22..00160bfd0b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java index c33865a01e..5043225978 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java index b72c1cf1f9..d10d1ed0ab 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storagesettings/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storagesettings/deletebucket/SyncDeleteBucket.java index 22d518e905..9bf8de29e4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storagesettings/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storagesettings/deletebucket/SyncDeleteBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/stub/storagestubsettings/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/stub/storagestubsettings/deletebucket/SyncDeleteBucket.java index 73a1bc3c2b..0fdee9cfaa 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/stub/storagestubsettings/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/stub/storagestubsettings/deletebucket/SyncDeleteBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/BucketName.java b/test/integration/goldens/storage/src/com/google/storage/v2/BucketName.java index f53865e272..078819ae86 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/BucketName.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/BucketName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/CryptoKeyName.java b/test/integration/goldens/storage/src/com/google/storage/v2/CryptoKeyName.java index 99a5046120..f80912dc89 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/CryptoKeyName.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/CryptoKeyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/MockStorage.java b/test/integration/goldens/storage/src/com/google/storage/v2/MockStorage.java index bd53f4d3a4..5f04f6e64c 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/MockStorage.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/MockStorage.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/MockStorageImpl.java b/test/integration/goldens/storage/src/com/google/storage/v2/MockStorageImpl.java index f9781c107f..df7b1b65d1 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/MockStorageImpl.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/MockStorageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/NotificationName.java b/test/integration/goldens/storage/src/com/google/storage/v2/NotificationName.java index 0476d45605..faa9c9744d 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/NotificationName.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/NotificationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/ProjectName.java b/test/integration/goldens/storage/src/com/google/storage/v2/ProjectName.java index 67568b522e..154bd94bf8 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/ProjectName.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/StorageClient.java b/test/integration/goldens/storage/src/com/google/storage/v2/StorageClient.java index 51b7167e12..650dafb7a8 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/StorageClient.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/StorageClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/StorageClientTest.java b/test/integration/goldens/storage/src/com/google/storage/v2/StorageClientTest.java index 9f1c7c9aa6..a86ee96beb 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/StorageClientTest.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/StorageClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/StorageSettings.java b/test/integration/goldens/storage/src/com/google/storage/v2/StorageSettings.java index b9d8002130..f946fad71c 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/StorageSettings.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/StorageSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/package-info.java b/test/integration/goldens/storage/src/com/google/storage/v2/package-info.java index 5f909765e1..1afdc9d4b6 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/package-info.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/stub/GrpcStorageCallableFactory.java b/test/integration/goldens/storage/src/com/google/storage/v2/stub/GrpcStorageCallableFactory.java index ee3ea61d31..4f7f286480 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/stub/GrpcStorageCallableFactory.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/stub/GrpcStorageCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/stub/GrpcStorageStub.java b/test/integration/goldens/storage/src/com/google/storage/v2/stub/GrpcStorageStub.java index 1986a8a440..47dcefc052 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/stub/GrpcStorageStub.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/stub/GrpcStorageStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/stub/StorageStub.java b/test/integration/goldens/storage/src/com/google/storage/v2/stub/StorageStub.java index c9562ed983..c7ebb6687c 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/stub/StorageStub.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/stub/StorageStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/integration/goldens/storage/src/com/google/storage/v2/stub/StorageStubSettings.java b/test/integration/goldens/storage/src/com/google/storage/v2/stub/StorageStubSettings.java index 3f882e3850..ba13a8f44a 100644 --- a/test/integration/goldens/storage/src/com/google/storage/v2/stub/StorageStubSettings.java +++ b/test/integration/goldens/storage/src/com/google/storage/v2/stub/StorageStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/versions.txt b/versions.txt index 3b97a4de06..0dd4233e88 100644 --- a/versions.txt +++ b/versions.txt @@ -1,19 +1,19 @@ # Format: # module:released-version:current-version -gapic-generator-java:2.20.1:2.20.1 -api-common:2.11.1:2.11.1 -gax:2.28.1:2.28.1 -gax-grpc:2.28.1:2.28.1 -gax-httpjson:0.113.1:0.113.1 -proto-google-common-protos:2.19.1:2.19.1 -grpc-google-common-protos:2.19.1:2.19.1 -proto-google-iam-v1:1.14.1:1.14.1 -grpc-google-iam-v1:1.14.1:1.14.1 -proto-google-iam-v2beta:1.14.1:1.14.1 -grpc-google-iam-v2beta:1.14.1:1.14.1 -google-iam-policy:1.14.1:1.14.1 -proto-google-iam-v2:1.14.1:1.14.1 -grpc-google-iam-v2:1.14.1:1.14.1 -google-cloud-core:2.18.1:2.18.1 -google-cloud-shared-dependencies:3.10.1:3.10.1 +gapic-generator-java:2.21.0:2.21.0 +api-common:2.12.0:2.12.0 +gax:2.29.0:2.29.0 +gax-grpc:2.29.0:2.29.0 +gax-httpjson:0.114.0:0.114.0 +proto-google-common-protos:2.20.0:2.20.0 +grpc-google-common-protos:2.20.0:2.20.0 +proto-google-iam-v1:1.15.0:1.15.0 +grpc-google-iam-v1:1.15.0:1.15.0 +proto-google-iam-v2beta:1.15.0:1.15.0 +grpc-google-iam-v2beta:1.15.0:1.15.0 +google-iam-policy:1.15.0:1.15.0 +proto-google-iam-v2:1.15.0:1.15.0 +grpc-google-iam-v2:1.15.0:1.15.0 +google-cloud-core:2.19.0:2.19.0 +google-cloud-shared-dependencies:3.11.0:3.11.0